mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 08:09:18 +01:00
removed piping
This commit is contained in:
parent
a17e72ea0d
commit
85dc0e2cba
@ -23,13 +23,10 @@ logged_in_home=$(eval echo "~${logged_in_user}")
|
|||||||
# $PWD (working directory)
|
# $PWD (working directory)
|
||||||
download_dir="${logged_in_home}/Downloads/NonSteamLaunchersInstallation"
|
download_dir="${logged_in_home}/Downloads/NonSteamLaunchersInstallation"
|
||||||
|
|
||||||
# Create a named pipe if it doesn't exist
|
|
||||||
pipe_path="/tmp/nsl_pipe"
|
|
||||||
[[ ! -p $pipe_path ]] && mkfifo $pipe_path
|
|
||||||
|
|
||||||
# Create a log file in the same directory as the desktop file/.sh file
|
# Create a log file in the same directory as the desktop file/.sh file
|
||||||
# and also send output to the named pipe
|
exec >> "${logged_in_home}/Downloads/NonSteamLaunchers-install.log" 2>&1
|
||||||
exec > >(tee -a "${logged_in_home}/Downloads/NonSteamLaunchers-install.log" >$pipe_path) 2>&1
|
|
||||||
|
|
||||||
# Version number (major.minor)
|
# Version number (major.minor)
|
||||||
version=v3.8.1
|
version=v3.8.1
|
||||||
@ -2807,4 +2804,3 @@ fi
|
|||||||
# TODO: might be better to relocate temp files to `/tmp` or even use `mktemp -d` since `rm -rf` is potentially dangerous without the `-i` flag
|
# TODO: might be better to relocate temp files to `/tmp` or even use `mktemp -d` since `rm -rf` is potentially dangerous without the `-i` flag
|
||||||
# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
|
# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
|
||||||
rm -rf "$download_dir"
|
rm -rf "$download_dir"
|
||||||
rm $pipe_path
|
|
||||||
|
Loading…
Reference in New Issue
Block a user