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
22 lines
654 B
Bash
22 lines
654 B
Bash
#!/bin/bash
|
|
|
|
CHD_toolName="EmuDeck Compression Tool"
|
|
CHD_toolType="script"
|
|
CHD_toolPath="${toolsPath}/chdconv/chddeck.sh"
|
|
CHD_Shortcutlocation="$HOME/Desktop/EmuDeckCHD.desktop"
|
|
|
|
CHD_install(){
|
|
|
|
rsync -avhp --mkpath "$emudeckBackend/tools/chdconv" "$toolsPath/"
|
|
|
|
chmod +x "$CHD_toolPath"
|
|
chmod +x "$toolsPath"/chdconv/chdman5
|
|
|
|
#update the paths in the script
|
|
sed -i "s|/run/media/mmcblk0p1/Emulation/roms|${romsPath}|g" "$CHD_toolPath"
|
|
sed -i "s|/run/media/mmcblk0p1/Emulation/tools|${toolsPath}|g" "$CHD_toolPath"
|
|
|
|
#createDesktopShortcut "$CHD_Shortcutlocation" "$CHD_toolName" "bash $CHD_toolPath" "True"
|
|
}
|
|
|