mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
Make freedesktop settings SD only
This commit is contained in:
parent
bf5ecc7462
commit
af0448ac15
1 changed files with 2 additions and 4 deletions
6
dzgui.sh
6
dzgui.sh
|
@ -171,9 +171,7 @@ freedesktop_dirs(){
|
|||
curl -s "$img_url/$i" > "$HOME/local/.share/dzgui/$i"
|
||||
done
|
||||
write_desktop_file > "$freedesktop_path/dzgui.desktop"
|
||||
if [[ $is_steam_deck -eq 1 ]]; then
|
||||
write_desktop_file > "$HOME/Desktop/dzgui.desktop"
|
||||
fi
|
||||
write_desktop_file > "$HOME/Desktop/dzgui.desktop"
|
||||
}
|
||||
guess_path(){
|
||||
echo "# Checking for default DayZ path"
|
||||
|
@ -763,7 +761,7 @@ merge_config(){
|
|||
|
||||
}
|
||||
download_new_version(){
|
||||
freedesktop_dirs
|
||||
[[ $is_steam_deck -eq 1 ]] && freedesktop_dirs
|
||||
source_script=$(realpath "$0")
|
||||
source_dir=$(dirname "$source_script")
|
||||
mv $source_script $source_script.old
|
||||
|
|
Loading…
Reference in a new issue