mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
Reverted
This commit is contained in:
parent
16b92a9e0b
commit
a4423d7871
@ -35,14 +35,6 @@ check_for_updates
|
||||
|
||||
|
||||
|
||||
# Check if the NonSteamLaunchersInstallation subfolder exists in the Downloads folder
|
||||
if [ -d "$HOME/Downloads/NonSteamLaunchersInstallation" ]; then
|
||||
# Delete the NonSteamLaunchersInstallation subfolder
|
||||
rm -rf "$HOME/Downloads/NonSteamLaunchersInstallation"
|
||||
echo "Deleted NonSteamLaunchersInstallation subfolder"
|
||||
else
|
||||
echo "NonSteamLaunchersInstallation subfolder does not exist"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
@ -814,6 +806,31 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if [[ $options == "Move to SD Card" ]]; then
|
||||
# The Move to SD Card button was clicked
|
||||
# Check which app IDs are installed
|
||||
@ -2558,21 +2575,6 @@ fi
|
||||
|
||||
|
||||
|
||||
# Set the path to the local config.vdf file
|
||||
local_config_vdf_path="$HOME/.local/share/Steam/userdata/$steamid3/config/localconfig.vdf"
|
||||
|
||||
# Check if the local config.vdf file exists
|
||||
if [ -f "$local_config_vdf_path" ]; then
|
||||
# Create a backup of the local config.vdf file
|
||||
cp "$local_config_vdf_path" "$local_config_vdf_path.bak"
|
||||
echo "Created backup of local config.vdf file at $local_config_vdf_path.bak"
|
||||
else
|
||||
echo "The local config.vdf file does not exist at $local_config_vdf_path"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -2747,11 +2749,6 @@ with open('$config_vdf_path', 'w') as f:
|
||||
|
||||
|
||||
|
||||
|
||||
#Writes to the configset_controller_neptune.vdf file
|
||||
|
||||
|
||||
|
||||
# Load the configset_controller_neptune.vdf file
|
||||
with open('$controller_config_path', 'r') as f:
|
||||
config = vdf.load(f)
|
||||
@ -2815,8 +2812,6 @@ with open('$controller_config_path', 'w') as f:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
|
||||
rm -rf ~/Downloads/NonSteamLaunchersInstallation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user