mirror of
https://github.com/tw93/Mole.git
synced 2026-02-06 13:42:57 +00:00
feat(clean, optimize): enhance recent items cleanup safety
This commit is contained in:
@@ -354,7 +354,6 @@ scan_applications() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Load applications into arrays
|
||||
load_applications() {
|
||||
local apps_file="$1"
|
||||
|
||||
@@ -403,9 +402,7 @@ cleanup() {
|
||||
# Set trap for cleanup on exit
|
||||
trap cleanup EXIT INT TERM
|
||||
|
||||
# Main function
|
||||
main() {
|
||||
# Parse args
|
||||
local force_rescan=false
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
|
||||
Reference in New Issue
Block a user