mirror of
https://github.com/aclist/dztui.git
synced 2025-01-01 15:12:05 +01:00
Force creation of helpers dir
This commit is contained in:
parent
67cb8935c1
commit
a5dc2c4408
1 changed files with 2 additions and 1 deletions
3
dzgui.sh
3
dzgui.sh
|
@ -896,7 +896,7 @@ options_menu(){
|
||||||
"Toggle debug mode"
|
"Toggle debug mode"
|
||||||
"Generate debug log"
|
"Generate debug log"
|
||||||
"Toggle auto-mod install (experimental)"
|
"Toggle auto-mod install (experimental)"
|
||||||
"Set auto-mod staging directory"
|
"Set auto-mod staging directory [$staging_dir]"
|
||||||
)
|
)
|
||||||
debug_sel=$(zenity --list --width=1280 --height=800 --column="Options" --title="DZGUI" --hide-header "${debug_list[@]}" 2>/dev/null)
|
debug_sel=$(zenity --list --width=1280 --height=800 --column="Options" --title="DZGUI" --hide-header "${debug_list[@]}" 2>/dev/null)
|
||||||
if [[ $debug_sel == "${debug_list[0]}" ]]; then
|
if [[ $debug_sel == "${debug_list[0]}" ]]; then
|
||||||
|
@ -1534,6 +1534,7 @@ lock(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
fetch_scmd_helper(){
|
fetch_scmd_helper(){
|
||||||
|
mkdir -p "$helpers_path"
|
||||||
curl -Ls "$scmd_url" > "$helpers_path/scmd.sh"
|
curl -Ls "$scmd_url" > "$helpers_path/scmd.sh"
|
||||||
chmod +x "$helpers_path/scmd.sh"
|
chmod +x "$helpers_path/scmd.sh"
|
||||||
[[ ! -f "$helpers_path/d.html" ]] && curl -Ls "$notify_url" > "$helpers_path/d.html"
|
[[ ! -f "$helpers_path/d.html" ]] && curl -Ls "$notify_url" > "$helpers_path/d.html"
|
||||||
|
|
Loading…
Reference in a new issue