1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 19:09:43 +00:00

chore: Remove --force-rescan option from uninstall command and script.

This commit is contained in:
Tw93
2025-12-29 19:40:09 +08:00
parent 6328bf158d
commit 7485af0bee
3 changed files with 4 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
#
# Usage:
# uninstall.sh # Launch interactive uninstaller
# uninstall.sh --force-rescan # Rescan apps and refresh cache
# uninstall.sh # Launch interactive uninstaller
set -euo pipefail
@@ -370,14 +370,12 @@ trap cleanup EXIT INT TERM
main() {
local force_rescan=false
# Parse global flags locally if needed (currently none specific to uninstall)
for arg in "$@"; do
case "$arg" in
"--debug")
export MO_DEBUG=1
;;
"--force-rescan")
force_rescan=true
;;
esac
done