Added .gg file extension support for GMenu2X and RetroFE.

This commit is contained in:
root 2021-10-15 09:49:31 +02:00
parent 2b919ad68c
commit 1129da87fc
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Comment=MS/MD/MCD/32X emulator
Exec=picodrive.sh %f Exec=picodrive.sh %f
Icon=picodrive Icon=picodrive
Categories=emulators; Categories=emulators;
SelectorFilter=zip,bin,md,smd,sms,32x,cue,cso,chd' > opk/picodrive.funkey-s.desktop SelectorFilter=zip,bin,md,smd,sms,gg,32x,cue,cso,chd' > opk/picodrive.funkey-s.desktop
rm -f *.opk rm -f *.opk
mksquashfs opk/ picodrive_v1.98_$(md5sum opk/PicoDrive | cut -c1-7)_funkey-s.opk -all-root -noappend -no-exports -no-xattrs mksquashfs opk/ picodrive_v1.98_$(md5sum opk/PicoDrive | cut -c1-7)_funkey-s.opk -all-root -noappend -no-exports -no-xattrs

View File

@ -3,6 +3,7 @@
if [ `md5sum /usr/games/PicoDrive | cut -d' ' -f1` != `md5sum PicoDrive | cut -d' ' -f1` ]; then if [ `md5sum /usr/games/PicoDrive | cut -d' ' -f1` != `md5sum PicoDrive | cut -d' ' -f1` ]; then
rw rw
cp -f PicoDrive /usr/games cp -f PicoDrive /usr/games
sed -i 's|list.extensions.*|list.extensions = zip,ZIP,sms,SMS,bin,BIN,gg,GG|' /usr/games/collections/Sega\ Master\ System/settings.conf
ro ro
fi fi
exec /usr/games/launchers/megadrive_launch.sh "$1" exec /usr/games/launchers/megadrive_launch.sh "$1"