1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 21:29:42 +00:00
Commit Graph

80 Commits

Author SHA1 Message Date
Tw93
03b5896070 Replace optimize module with pure Bash 2025-11-14 21:19:24 +08:00
Tw93
7029905aaa Added system optimization features 2025-11-14 17:35:16 +08:00
Tw93
32add19564 Data analysis speed and neglect of customization 2025-11-14 11:38:48 +08:00
Tw93
4f8f31444d More secure deletion and cannot delete path 2025-11-14 11:38:25 +08:00
Tw93
ddef8c4bc0 Data scanning for a better experience, display time. 2025-11-13 17:06:13 +08:00
Tw93
6e11c52039 The analysis module has been refactored using Go. 2025-11-12 17:12:01 +08:00
Tw93
479d09246d The analysis module has been refactored using Go. 2025-11-12 17:09:04 +08:00
Tw93
1b8f447f18 Fix output issue 2025-11-11 10:04:17 +08:00
Carolyn Sun
3d87bcc71c fix: mole may broke cache and data of surge mac (#46)
* fix: mole may broke cache and data of surge mac

* chore: typo
2025-11-11 09:58:04 +08:00
Tw93
6161a4d755 Merge branch 'dev' 2025-11-09 10:03:19 +08:00
Tw93
ead56c4575 Increase the cleaning of uncommon software 2025-11-09 10:03:07 +08:00
Tw93
f2279d340a Supports browser multi-profile cleaning 2025-11-09 09:59:12 +08:00
Tw93
173c440726 Supports cleaning the cache of various AI browsers 2025-11-09 09:30:35 +08:00
Tw93
16d2b74633 Modify nix beyond 30 days.修改30天之外的nix
Modify nix beyond 30 days.
2025-11-09 09:15:04 +08:00
Mohammed Esafi
caeb1c3891 feat: add Nix garbage collection to developer tools cleanup (#45) 2025-11-09 09:12:24 +08:00
Tw93
45adddb2ac Merge branch 'dev' 2025-11-09 09:09:29 +08:00
Tw93
9a3d5c11aa Incremental check when app is uninstalled 2025-10-22 10:04:12 +08:00
Tw93
c126b63866 Clean loading 2025-10-21 20:06:26 +08:00
Tw93
5458132614 Front-end cache cleaning fine 2025-10-20 10:13:08 +08:00
Tw93
640499d302 Greatly improve scanning speed 2025-10-17 21:19:05 +08:00
Tw93
de0e22f00f The whitelist has been increased to 66 2025-10-16 12:26:00 +08:00
Tw93
2f0c74c621 Adjustment of file structure 2025-10-16 10:53:00 +08:00
Tw93
f1af63bfb9 Uninstall List Cache 2025-10-14 20:06:52 +08:00
Tw93
f842d4092f Delete useless help and optimize format 2025-10-14 19:43:59 +08:00
Else00
cfdd414320 feat(menu): add sort (date/name/size), live filter, reverse; visible-only A/N; responsive footer (#34)
Paginated menu:
- Sorting: press S/s to cycle Date → Name → Size; press R/r to reverse.
- Live filter: press F/f to enter; case-insensitive substring; prefix with ' to anchor at start; DELETE to backspace; ENTER to apply; ESC to cancel. Shows “searching…” while rebuilding.
- Selection scope: A (All) and N (None) now work on the currently visible items only (after filter/sort), not the entire list.
- Footer: adds A/N to the help line and wraps only at ' | ' separators so labels are never broken; adapts to terminal width.
- Internals: view_indices mapping for filtered/sorted view; glob-safe matching via _pm_escape_glob; drain_pending_input; robust stty restore; optional MOLE_MANAGED_ALT_SCREEN; cleanup unsets MOLE_READ_KEY_FORCE_CHAR; shellcheck clean.

common.sh:
- read_key supports a raw typing mode (MOLE_READ_KEY_FORCE_CHAR=1) emitting CHAR:<k>; ENTER/DELETE/ESC handled.
- Uppercase A/N/R mappings (ALL/NONE/RETRY), printable-key detection, better ESC sequence handling.

app_selector.sh:
- Builds and exports per-item metadata CSV for epochs and size_kb via MOLE_MENU_META_EPOCHS and MOLE_MENU_META_SIZEKB; unsets them after the menu.
- Menu options keep display text; sorting/filtering use metadata.

uninstall.sh:
- Computes app_size_kb using du -sk for numeric sorting while keeping human-readable size; writes it as the final field.
- load_applications reads the new size_kb field.

Notes:
- Footer grew due to new commands; responsive wrapping prevents mid-word breaks.
- ./tests/run.sh: only the two upstream failures remain (unchanged by this patch).

Co-authored-by: Jonas Bertossa <jonas.bertossa@eoc.ch>
2025-10-14 09:40:47 +08:00
Tw93
098d54b055 Optimize test reading version 2025-10-13 14:33:06 +08:00
Tw93
db3b033fc0 Optimize cleaning of Bluetooth content 2025-10-13 11:29:45 +08:00
Tw93
62537d8d44 Automatic formatting 2025-10-12 21:43:37 +08:00
Tw93
cf821cdc4b Code support format detection 2025-10-12 20:49:10 +08:00
Tw93
3c56fe0633 Complete automated testing 2025-10-12 15:43:45 +08:00
Tw93
41047d6ee8 Support for cleaning up incomplete backups 2025-10-12 12:42:21 +08:00
Tw93
9e7c70a9f8 Symbol specification output 2025-10-12 12:42:04 +08:00
Tw93
7e42516260 Support one-click activation of touchid 2025-10-11 22:43:50 +08:00
Tw93
55f6bd352f Well-structured output 2025-10-11 22:43:18 +08:00
Tw93
3b33c5a4a8 The results are more uniform 2025-10-11 15:02:15 +08:00
Tw93
8dc8d6c063 Improved whitelist experience 2025-10-11 14:12:00 +08:00
Tw93
65e3585f95 Uninstall function detailed upgrade 2025-10-11 11:40:01 +08:00
Tw93
2cf56fa96d Whitelist mode is more powerful 2025-10-10 23:05:21 +08:00
huyixi
d34b617cb3 feat(analyze): open current directory in Finder via "O" key (#19) 2025-10-09 14:43:18 +08:00
Tw93
56097e49a6 Neat and uniform output 2025-10-09 14:29:46 +08:00
Tw93
70c5db8c9a Neat and uniform output 2025-10-09 14:24:00 +08:00
Tw93
9f720aec02 Merge branch 'dev' 2025-10-08 23:28:21 +08:00
Tw93
3fa81ffebd Improved viewing experience for visual files 2025-10-08 23:27:52 +08:00
Tw93
c0dc5203b3 Touch ID is supported in password scenarios 2025-10-08 23:23:07 +08:00
Tw93
6c60c0f01b I don't like emojis anymore 2025-10-08 23:21:52 +08:00
Tw93
1657ff584b 🎨 Loading optimization and better use of links 2025-10-08 18:01:46 +08:00
Tw93
2edb1464ba 🐛 revent cache deletion during dry-run 2025-10-08 11:32:35 +08:00
Tw93
1ae3479072 Compatible with German and French system users 2025-10-08 11:31:03 +08:00
Maximilian Arzberger
5854c5369f fix deno cache (#13) 2025-10-08 10:51:06 +08:00
Tw93
6a217f6496 🐛 Filtering isolated containers 2025-10-07 10:53:47 +08:00