mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-05-10 00:44:06 -04:00
mac fixes
This commit is contained in:
parent
f3bc90e045
commit
24c5cb2ed3
|
@ -4,7 +4,7 @@ PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
|
|||
appleChip=$(uname -m)
|
||||
|
||||
#Override Vars
|
||||
SRM_toolPath="Applications/Steam ROM Manager.app"
|
||||
SRM_toolPath="$HOME/Applications/EmuDeck/Steam ROM Manager.app"
|
||||
RetroArch_configFile="$HOME/Library/Application Support/RetroArch/config/retroarch.cfg"
|
||||
RetroArch_coreConfigFolders="$HOME/Library/Application Support/RetroArch/config"
|
||||
RetroArch_cores="$HOME/Library/Application Support/RetroArch/cores"
|
||||
|
|
|
@ -1,5 +1,15 @@
|
|||
#!/bin/bash
|
||||
SRM_setEnv(){
|
||||
whoami=$(whoami)
|
||||
sed -i "s|WHOAMI|${whoami}|g" "$SRM_userData_configDir/userSettings.json"
|
||||
sed -i "s|WHOAMI|${whoami}|g" "$SRM_userData_configDir/userSettings.json"
|
||||
sed -i "s|/run/media/mmcblk0p1/Emulation|$emulationPath|g" "$SRM_userData_configDir/userSettings.json"
|
||||
|
||||
}
|
||||
|
||||
SRM_resetLaunchers(){
|
||||
rsync -av --existing $HOME/.config/EmuDeck/backend/darwin/tools/launchers/ $toolsPath/launchers/
|
||||
for entry in $toolsPath/launchers/*.sh
|
||||
do
|
||||
chmod +x "$entry"
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue