1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 21:32:36 +01:00

Make freedesktop settings SD only

This commit is contained in:
aclist 2022-08-06 05:07:06 +09:00
parent bf5ecc7462
commit af0448ac15

View file

@ -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