mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-30 11:41:50 +01:00
delete log before creating new one so its not so big
This commit is contained in:
parent
8e6bcb7e41
commit
ac1c24666b
@ -25,8 +25,17 @@ download_dir="${logged_in_home}/Downloads/NonSteamLaunchersInstallation"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Create a log file in the same directory as the desktop file/.sh file
|
# Define the log file path
|
||||||
exec >> "${logged_in_home}/Downloads/NonSteamLaunchers-install.log" 2>&1
|
log_file="${logged_in_home}/Downloads/NonSteamLaunchers-install.log"
|
||||||
|
|
||||||
|
# Check if the log file exists and delete it
|
||||||
|
if [ -f "$log_file" ]; then
|
||||||
|
rm "$log_file"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create a new log file
|
||||||
|
exec >> "$log_file" 2>&1
|
||||||
|
|
||||||
|
|
||||||
# Version number (major.minor)
|
# Version number (major.minor)
|
||||||
version=v3.9.1
|
version=v3.9.1
|
||||||
|
Loading…
Reference in New Issue
Block a user