From a4423d78716105ec1f31571739435c0c4bfa2e63 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Wed, 7 Jun 2023 02:25:39 -0700 Subject: [PATCH] Reverted --- NonSteamLaunchers.sh | 55 ++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 30 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index e72c1ba..1e4a09b 100644 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -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