mirror of
https://github.com/aclist/dztui.git
synced 2026-08-25 17:32:36 +02:00
chore: drop legacy src_path logic
This commit is contained in:
parent
a8ae07931d
commit
90d59cec97
9
dzgui.sh
9
dzgui.sh
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -o pipefail
|
||||
|
||||
src_path=$(realpath "$0")
|
||||
|
||||
version=6.0.1.beta-1
|
||||
reference_branch="prerelease/6.0.1-beta.1"
|
||||
|
||||
@ -219,9 +221,6 @@ default_steam_path="$default_steam_path"
|
||||
|
||||
#Preferred Steam launch command (for Flatpak support)
|
||||
preferred_client="$preferred_client"
|
||||
|
||||
#DZGUI source path
|
||||
src_path="$src_path"
|
||||
END
|
||||
}
|
||||
depcheck(){
|
||||
@ -985,10 +984,6 @@ varcheck(){
|
||||
create_config
|
||||
return 0
|
||||
fi
|
||||
if [[ $src_path != $(realpath "$0") ]]; then
|
||||
src_path=$(realpath "$0")
|
||||
update_config
|
||||
fi
|
||||
}
|
||||
is_dzg_downloading(){
|
||||
if [[ -d $steam_path ]] && [[ -d $steam_path/downloading/$aid ]]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user