Add subcmd resetfirstrun

This commit is contained in:
clsty
2025-11-12 21:25:25 +08:00
parent 318d80de38
commit 9997fdce0c
6 changed files with 38 additions and 3 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ Subcommands:
exp-update (Experimental) Update illogical-impulse without fully reinstall.
exp-update-old (Experimental) exp-update but use behaves like old version.
resetfirstrun Reset firstrun state.
checkdeps (For dev only) Check whether pkgs exist in AUR or repos of Arch.
virtmon (For dev only) Create virtual monitors for testing multi-monitors.
help Show this help message.
@@ -47,7 +48,7 @@ case $1 in
# Global help
""|help|--help|-h)showhelp_global;exit;;
# Correct subcommand
install|exp-uninstall|exp-update|exp-update-old|checkdeps|virtmon)
install|exp-uninstall|exp-update|exp-update-old|resetfirstrun|checkdeps|virtmon)
SUBCMD_NAME=$1
SUBCMD_DIR=./sdata/subcmd-$1
shift;;