mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
Merge pull request #516 from vanny96/main
Adds support for compatibilitytools.d installed on SD Card
This commit is contained in:
commit
654d6bdee9
@ -358,7 +358,7 @@ function download_ge_proton() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
proton_dir=$(find -L "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
||||||
echo "All done :)"
|
echo "All done :)"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -375,7 +375,7 @@ function update_proton() {
|
|||||||
mkdir -p "${logged_in_home}/Downloads/NonSteamLaunchersInstallation" || { echo "Failed to create directory. Exiting."; exit 1; }
|
mkdir -p "${logged_in_home}/Downloads/NonSteamLaunchersInstallation" || { echo "Failed to create directory. Exiting."; exit 1; }
|
||||||
|
|
||||||
# Set the path to the Proton directory
|
# Set the path to the Proton directory
|
||||||
proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
proton_dir=$(find -L "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
||||||
|
|
||||||
# Check if GE-Proton is installed
|
# Check if GE-Proton is installed
|
||||||
if [ -z "$proton_dir" ]; then
|
if [ -z "$proton_dir" ]; then
|
||||||
@ -838,7 +838,7 @@ handle_uninstall_common() {
|
|||||||
app_name=$4
|
app_name=$4
|
||||||
|
|
||||||
# Set the path to the Proton directory
|
# Set the path to the Proton directory
|
||||||
proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
proton_dir=$(find -L "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
||||||
|
|
||||||
# Set the paths for the environment variables
|
# Set the paths for the environment variables
|
||||||
STEAM_RUNTIME="${logged_in_home}/.steam/root/ubuntu12_32/steam-runtime/run.sh"
|
STEAM_RUNTIME="${logged_in_home}/.steam/root/ubuntu12_32/steam-runtime/run.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user