mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
Fix freedesktop paths
This commit is contained in:
parent
9a39e43af7
commit
c5538db60c
1 changed files with 3 additions and 3 deletions
6
dzgui.sh
6
dzgui.sh
|
@ -155,7 +155,7 @@ cat <<-END
|
|||
Version=1.0
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Exec=$freedesktop_path
|
||||
Exec=$freedesktop_path/dzgui.sh
|
||||
Name=DZGUI
|
||||
Comment=dzgui
|
||||
Icon=$HOME/.local/share/dzgui/dzgui
|
||||
|
@ -166,7 +166,7 @@ guess_path(){
|
|||
if [[ $is_steam_deck -eq 1 ]]; then
|
||||
mkdir -p $HOME/.local/share/dzgui
|
||||
mkdir -p "$freedesktop_path"
|
||||
curl -Ls "$stable_url" > "$freedesktop_path/dzgui.sh"
|
||||
curl -Ls "$version_url" > "$freedesktop_path/dzgui.sh"
|
||||
#TODO: update url
|
||||
img_url="https://raw.githubusercontent.com/aclist/dztui/testing"
|
||||
for i in dzgui grid.png hero.png logo.png; do
|
||||
|
@ -263,7 +263,7 @@ run_varcheck(){
|
|||
}
|
||||
config(){
|
||||
if [[ ! -f $config_file ]]; then
|
||||
zenity $sd_res --question --cancel-label="Exit" --text="Config file not found. Should DZGUI create one for you?" 2>/dev/null
|
||||
zenity --question --cancel-label="Exit" --text="Config file not found. Should DZGUI create one for you?" 2>/dev/null
|
||||
code=$?
|
||||
if [[ $code -eq 1 ]]; then
|
||||
exit
|
||||
|
|
Loading…
Reference in a new issue