mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
added check for installation folder before script
This commit is contained in:
parent
a4423d7871
commit
3525f9ea90
@ -30,8 +30,14 @@ 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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user