mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-05-20 05:10:46 -04:00
15 lines
424 B
Bash
15 lines
424 B
Bash
#!/bin/bash
|
|
SRM_setEnv(){
|
|
whoami=$(whoami)
|
|
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
|
|
} |