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
21 lines
613 B
Bash
21 lines
613 B
Bash
#!/bin/bash
|
|
|
|
BINUP_toolName="EmuDeck AppImage Updater"
|
|
BINUP_toolType="script"
|
|
BINUP_toolPath="${toolsPath}/binupdate/binupdate.sh"
|
|
BINUP_Shortcutlocation="$HOME/Desktop/EmuDeckBinUpdate.desktop"
|
|
|
|
|
|
|
|
BINUP_install(){
|
|
|
|
rsync -avhp --mkpath "$emudeckBackend/tools/binupdate" "$toolsPath/"
|
|
|
|
chmod +x "$BINUP_toolPath"
|
|
#update the paths in the script
|
|
sed -i "s|/run/media/mmcblk0p1/Emulation/roms|${romsPath}|g" "$BINUP_toolPath"
|
|
sed -i "s|/run/media/mmcblk0p1/Emulation/tools|${toolsPath}|g" "$BINUP_toolPath"
|
|
|
|
#createDesktopShortcut "$BINUP_Shortcutlocation" "$BINUP_toolName" "bash $BINUP_toolPath" "True"
|
|
}
|