mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-27 18:31:35 +00:00
22 lines
650 B
Bash
22 lines
650 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 "$EMUDECKGIT/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"
|
|
}
|
|
|