EmuDeck/functions/ToolScripts/emuDeckCHD.sh
Dragoon Dorise 00a8f1c19c
New paths (#1381)
* 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
2025-01-02 13:42:31 +01:00

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"
}