mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-06-02 19:47:51 -04:00
ssshhh - emuDeckInstallHomebrewGames
This commit is contained in:
parent
b61131e13b
commit
b85910683d
18
functions/ToolScripts/emuDeckInstallHomebrewGames.sh
Normal file
18
functions/ToolScripts/emuDeckInstallHomebrewGames.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
emuDeckInstallHomebrewGames(){
|
||||
setMSG "Installing HomeBrew Games"
|
||||
mkdir -p "$toolsPath/homebrew/roms/"
|
||||
git clone https://github.com/EmuDeck/emudeck-homebrew.git "$toolsPath/homebrew/roms/" --depth=1
|
||||
cd "$toolsPath/homebrew/roms/" && git reset --hard HEAD && git clean -f -d && git pull && echo "Homebrew Games up to date!" || echo "problem pulling Homebrew Games"
|
||||
|
||||
#Symlinks
|
||||
|
||||
ln -sn "$toolsPath/homebrew/roms/gamegear" ${romsPath}/gamegear/homebrew/
|
||||
ln -sn "$toolsPath/homebrew/roms/gb" ${romsPath}/gb/homebrew/
|
||||
ln -sn "$toolsPath/homebrew/roms/gba" ${romsPath}/gba/homebrew/
|
||||
ln -sn "$toolsPath/homebrew/roms/gbc" ${romsPath}/gbc/homebrew/
|
||||
ln -sn "$toolsPath/homebrew/roms/genesis" ${romsPath}/genesis/homebrew/
|
||||
ln -sn "$toolsPath/homebrew/roms/mastersystem" ${romsPath}/mastersystem/homebrew/
|
||||
ln -sn "$toolsPath/homebrew/roms/nes" ${romsPath}/nes/homebrew/
|
||||
ln -sn "$toolsPath/homebrew/roms/snes" ${romsPath}/snes/homebrew/
|
||||
}
|
|
@ -43,6 +43,7 @@ source "$EMUDECKGIT"/functions/ToolScripts/emuDeckBINUP.sh
|
|||
source "$EMUDECKGIT"/functions/ToolScripts/emuDeckSaveSync.sh
|
||||
source "$EMUDECKGIT"/functions/ToolScripts/emuDeckrclone.sh
|
||||
source "$EMUDECKGIT"/functions/ToolScripts/emuDeckRemotePlayWhatever.sh
|
||||
source "$EMUDECKGIT"/functions/ToolScripts/emuDeckInstallHomebrewGames.sh
|
||||
|
||||
#emuscripts
|
||||
source "$EMUDECKGIT"/functions/EmuScripts/emuDeckYuzu.sh
|
||||
|
|
|
@ -274,6 +274,7 @@ function createUpdateSettingsFile(){
|
|||
defaultSettingsList+=("doInstallCHD=true")
|
||||
defaultSettingsList+=("doInstallPowertools=false")
|
||||
defaultSettingsList+=("doInstallGyro=false")
|
||||
defaultSettingsList+=("doInstallHomeBrewGames=false")
|
||||
defaultSettingsList+=("installString='Installing'")
|
||||
defaultSettingsList+=("RABezels=true")
|
||||
defaultSettingsList+=("RAautoSave=false")
|
||||
|
|
|
@ -47,6 +47,7 @@ doInstallMAME=true
|
|||
doInstallCHD=false
|
||||
doInstallPowertools=false
|
||||
doInstallGyro=false
|
||||
$doInstallHomeBrewGames=false
|
||||
|
||||
installString='Installing'
|
||||
|
||||
|
|
Loading…
Reference in a new issue