mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
* new paths * / * EmuDeck/ * mv * no & * ESDE new location * ESDE new path * no symlink load * bigpemu new path * force move * global vars * oopsie * missing $emudeckBackend * better migration detection * Keep Appimages in Applications * Keep Appimages in Applications
20 lines
600 B
Bash
20 lines
600 B
Bash
#!/bin/bash
|
|
|
|
FlatpakUP_toolName="EmuDeck Flatpak Updater"
|
|
FlatpakUP_toolType="script"
|
|
FlatpakUP_toolPath="${toolsPath}/flatpakupdate/flatpakupdate.sh"
|
|
|
|
|
|
|
|
FlatpakUp_install(){
|
|
|
|
rsync -avhp --mkpath "$emudeckBackend/tools/flatpakupdate" "$toolsPath/"
|
|
|
|
chmod +x "$FlatpakUP_toolPath"
|
|
#update the paths in the script
|
|
sed -i "s|/run/media/mmcblk0p1/Emulation/roms|${romsPath}|g" "$FlatpakUP_toolPath"
|
|
sed -i "s|/run/media/mmcblk0p1/Emulation/tools|${toolsPath}|g" "$FlatpakUP_toolPath"
|
|
|
|
#createDesktopShortcut "$FlatpakUP_Shortcutlocation" "$FlatpakUP_toolName" "bash $FlatpakUP_toolPath" "True"
|
|
}
|