From 76466fdcc6f5473dc004aec365a4c58a9057eeee Mon Sep 17 00:00:00 2001 From: Davide Del Popolo Date: Tue, 6 Aug 2024 20:44:47 +0200 Subject: [PATCH] fix: use correct home folder for user --- NonSteamLaunchers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 77117a5..02c7948 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -30,8 +30,8 @@ zenity --info --text="DBus session address: $DBUS_SESSION_BUS_ADDRESS" --no-sess #Log -download_dir=/home/deck/Downloads/NonSteamLaunchersInstallation -log_file=/home/deck/Downloads/NonSteamLaunchers-install.log +download_dir=$(eval echo ~$user)/Downloads/NonSteamLaunchersInstallation +log_file=$(eval echo ~$user)/Downloads/NonSteamLaunchers-install.log # Remove existing log file if it exists if [[ -f $log_file ]]; then