mirror of
https://github.com/aclist/dztui.git
synced 2025-04-06 20:43:01 +02: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"
|
curl -s "$img_url/$i" > "$HOME/local/.share/dzgui/$i"
|
||||||
done
|
done
|
||||||
write_desktop_file > "$freedesktop_path/dzgui.desktop"
|
write_desktop_file > "$freedesktop_path/dzgui.desktop"
|
||||||
if [[ $is_steam_deck -eq 1 ]]; then
|
write_desktop_file > "$HOME/Desktop/dzgui.desktop"
|
||||||
write_desktop_file > "$HOME/Desktop/dzgui.desktop"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
guess_path(){
|
guess_path(){
|
||||||
echo "# Checking for default DayZ path"
|
echo "# Checking for default DayZ path"
|
||||||
|
@ -763,7 +761,7 @@ merge_config(){
|
||||||
|
|
||||||
}
|
}
|
||||||
download_new_version(){
|
download_new_version(){
|
||||||
freedesktop_dirs
|
[[ $is_steam_deck -eq 1 ]] && freedesktop_dirs
|
||||||
source_script=$(realpath "$0")
|
source_script=$(realpath "$0")
|
||||||
source_dir=$(dirname "$source_script")
|
source_dir=$(dirname "$source_script")
|
||||||
mv $source_script $source_script.old
|
mv $source_script $source_script.old
|
||||||
|
|
Loading…
Reference in a new issue