Automatically create folders for RetroFE playlists in FunKey/.retrofe/collections and updated retrofe.mk file

Fixed a typo in update_partition file
Force "Native games" and "Applications" folder automatic creation
This commit is contained in:
DrUm78 2023-03-12 17:50:04 +01:00
parent 5bcc5e8fbc
commit 1ece3e5eb5
4 changed files with 6 additions and 4 deletions

View File

@ -49,7 +49,8 @@ mount_share () {
# Create the directory structure if required # Create the directory structure if required
#(cd /mnt; mkdir -p "Applications" "Emulators" "Games" "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "PS1/bios" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx") #(cd /mnt; mkdir -p "Applications" "Emulators" "Games" "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "PS1/bios" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx")
(cd /mnt; mkdir -p "Libretro/cores" "Emulators" "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "PS1/bios" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx") (cd /mnt; mkdir -p "Libretro/cores" "Native games" "Applications" "Emulators" "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx")
(mkdir -p "/mnt/FunKey/.retrofe/collections"; cd /mnt/FunKey/.retrofe/collections; mkdir "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx" "Libretro" "Native games" "Main")
# Check if there is a firmware update file # Check if there is a firmware update file
if [ -f /mnt/FunKey-*.fwu ]; then if [ -f /mnt/FunKey-*.fwu ]; then

View File

@ -0,0 +1 @@
This is the folder where you can put all your roms and games for Libretro if you use RetroFE frontend (for GMenu2X users, you can put them wherever you want)

View File

@ -47,7 +47,7 @@ do_postinst()
# Copy OPKs # Copy OPKs
cp -r ${root_mount}/usr/local/share/OPKs/* /mnt cp -r ${root_mount}/usr/local/share/OPKs/* /mnt
# Copy freware games and other necessary mnt files # Copy freeware games and other necessary mnt files
unzip -q -o ${root_mount}/usr/local/share/mnt_files.zip -d /mnt/ unzip -q -o ${root_mount}/usr/local/share/mnt_files.zip -d /mnt/
# Fix PCE opk name if necessary # Fix PCE opk name if necessary

View File

@ -4,9 +4,9 @@
# #
################################################################################ ################################################################################
RETROFE_VERSION = RetroFE-FunKey-1.1.4 RETROFE_VERSION = v1.1.5-funkey-s
RETROFE_SITE_METHOD = git RETROFE_SITE_METHOD = git
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git RETROFE_SITE = https://github.com/DrUm78/RetroFE.git
RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib
RETROFE_LICENSE = GPL-3.0 RETROFE_LICENSE = GPL-3.0
RETROFE_LICENSE_FILES = LICENSE.txt RETROFE_LICENSE_FILES = LICENSE.txt