1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

Force creation of helpers dir

This commit is contained in:
aclist 2022-10-08 12:25:46 +09:00
parent 67cb8935c1
commit a5dc2c4408

View file

@ -896,7 +896,7 @@ options_menu(){
"Toggle debug mode"
"Generate debug log"
"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)
if [[ $debug_sel == "${debug_list[0]}" ]]; then
@ -1534,6 +1534,7 @@ lock(){
fi
}
fetch_scmd_helper(){
mkdir -p "$helpers_path"
curl -Ls "$scmd_url" > "$helpers_path/scmd.sh"
chmod +x "$helpers_path/scmd.sh"
[[ ! -f "$helpers_path/d.html" ]] && curl -Ls "$notify_url" > "$helpers_path/d.html"