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
|
Version=1.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Exec=$freedesktop_path
|
Exec=$freedesktop_path/dzgui.sh
|
||||||
Name=DZGUI
|
Name=DZGUI
|
||||||
Comment=dzgui
|
Comment=dzgui
|
||||||
Icon=$HOME/.local/share/dzgui/dzgui
|
Icon=$HOME/.local/share/dzgui/dzgui
|
||||||
|
@ -166,7 +166,7 @@ guess_path(){
|
||||||
if [[ $is_steam_deck -eq 1 ]]; then
|
if [[ $is_steam_deck -eq 1 ]]; then
|
||||||
mkdir -p $HOME/.local/share/dzgui
|
mkdir -p $HOME/.local/share/dzgui
|
||||||
mkdir -p "$freedesktop_path"
|
mkdir -p "$freedesktop_path"
|
||||||
curl -Ls "$stable_url" > "$freedesktop_path/dzgui.sh"
|
curl -Ls "$version_url" > "$freedesktop_path/dzgui.sh"
|
||||||
#TODO: update url
|
#TODO: update url
|
||||||
img_url="https://raw.githubusercontent.com/aclist/dztui/testing"
|
img_url="https://raw.githubusercontent.com/aclist/dztui/testing"
|
||||||
for i in dzgui grid.png hero.png logo.png; do
|
for i in dzgui grid.png hero.png logo.png; do
|
||||||
|
@ -263,7 +263,7 @@ run_varcheck(){
|
||||||
}
|
}
|
||||||
config(){
|
config(){
|
||||||
if [[ ! -f $config_file ]]; then
|
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=$?
|
code=$?
|
||||||
if [[ $code -eq 1 ]]; then
|
if [[ $code -eq 1 ]]; then
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue