mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-31 23:25:06 +00:00
make launcher and shortcut for xenia
This commit is contained in:
parent
de0ce5bc8d
commit
b5d0218385
@ -32,7 +32,22 @@ Xenia_install(){
|
||||
unzip -o "$romsPath"/xbox360/xenia.zip -d "$romsPath"/xbox360/tmp
|
||||
rsync -avzh "$romsPath"/xbox360/tmp/ "$romsPath"/xbox360/
|
||||
rm -rf "$romsPath"/xbox360/tmp
|
||||
rm -f "$romsPath"/xbox360/xenia.zip
|
||||
rm -f "$romsPath"/xbox360/xenia.zip
|
||||
|
||||
cp "$EMUDECKGIT/tools/launchers/xenia.sh" "${toolsPath}/launchers/xenia.sh"
|
||||
sed -i "s|/run/media/mmcblk0p1/Emulation/tools|${toolsPath}|g" "${toolsPath}/launchers/xenia.sh"
|
||||
sed -i "s|/run/media/mmcblk0p1/Emulation/roms|${romsPath}|" "${toolsPath}/launchers/xenia.sh"
|
||||
|
||||
# if [[ "$launchLine" == *"PROTONLAUNCH"* ]]; then
|
||||
# changeLine '"${PROTONLAUNCH}"' "$launchLine" "${toolsPath}/launchers/xenia.sh"
|
||||
# fi
|
||||
chmod +x "${toolsPath}/launchers/xenia.sh"
|
||||
|
||||
|
||||
createDesktopShortcut "$HOME/.local/share/applications/xenia.desktop" \
|
||||
"xenia EmuDeck" \
|
||||
"${toolsPath}/launchers/xenia.sh" \
|
||||
"False"
|
||||
}
|
||||
|
||||
#ApplyInitialSettings
|
||||
|
@ -17,7 +17,7 @@ APPIDPY="/run/media/mmcblk0p1/Emulation/tools/appID.py"
|
||||
PROTONLAUNCH="/run/media/mmcblk0p1/Emulation/tools/proton-launch.sh"
|
||||
|
||||
# Xenia.exe location
|
||||
XENIA="/run/media/mmcblk0p1/Emulation/roms/xbox360/xenia.exe"
|
||||
XENIA="/run/media/mmcblk0p1/Emulation/roms/xbox360/xenia_canary.exe"
|
||||
|
||||
# APPID
|
||||
APPID=$( /usr/bin/python "${APPIDPY}" "${EXE}" "${NAME}" )
|
||||
|
Loading…
x
Reference in New Issue
Block a user