mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
Fix image url
This commit is contained in:
parent
52c3a6950c
commit
04d58987de
1 changed files with 3 additions and 3 deletions
6
dzgui.sh
6
dzgui.sh
|
@ -167,9 +167,9 @@ guess_path(){
|
||||||
mkdir -p $HOME/.local/share/dzgui
|
mkdir -p $HOME/.local/share/dzgui
|
||||||
mkdir -p "$freedesktop_path"
|
mkdir -p "$freedesktop_path"
|
||||||
#TODO: update url
|
#TODO: update url
|
||||||
img_url="https://github.com/aclist/dztui/raw/testing/images"
|
img_url="https://raw.githubusercontent.com/aclist/dztui/testing/images"
|
||||||
for i in dzgui grid.png hero.png logo.png; do
|
for i in dzgui grid.png hero.png logo.png; do
|
||||||
curl -s "$img_url/$i" > "$HOME/.local/share/dzgui/$i"
|
curl -s "$img_url/$i" > "$HOME/$i"
|
||||||
done
|
done
|
||||||
write_desktop_file > "$freedesktop_path/dzgui.desktop"
|
write_desktop_file > "$freedesktop_path/dzgui.desktop"
|
||||||
write_desktop_file > "$HOME/Desktop/dzgui.desktop"
|
write_desktop_file > "$HOME/Desktop/dzgui.desktop"
|
||||||
|
@ -619,7 +619,7 @@ debug_menu(){
|
||||||
elif [[ $debug_sel == "${debug_list[1]}" ]]; then
|
elif [[ $debug_sel == "${debug_list[1]}" ]]; then
|
||||||
source_script=$(realpath "$0")
|
source_script=$(realpath "$0")
|
||||||
source_dir=$(dirname "$source_script")
|
source_dir=$(dirname "$source_script")
|
||||||
generate_log > "$source_dir"
|
generate_log > "$source_dir/log"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue