1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 17:24:45 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Tw93
5eb2edf1cd fix: resolve spinner display and Ctrl+C handling issues
- fix(clean): stop spinner before safe_clean outputs results
- fix(uninstall): handle Ctrl+C during application scanning
2026-01-08 16:17:39 +08:00
Tw93
8a0b98525c fix(install): implement atomic update to prevent binary corruption
- Use temporary files (*.new) during installation process
- Perform atomic 'mv -f' operation to replace binaries
- Prevent partial updates if process is interrupted/fails
- Fixes critical issue where failed update deleted existing app
2026-01-04 23:17:42 +08:00
Tw93
6dfd675417 refactor: standardize epoch time retrieval with get_epoch_seconds and ensure locale-independent string transformations. 2026-01-03 18:07:47 +08:00
Tw93
9aa569cbb6 feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation. 2025-12-31 16:23:31 +08:00
Tw93
b5b09461c7 feat: add spinner feedback to optimization tasks, enhance app discovery for uninstall, and improve UI robustness and signal handling 2025-12-31 10:59:50 +08:00
Tw93
7485af0bee chore: Remove --force-rescan option from uninstall command and script. 2025-12-29 19:40:09 +08:00
Tw93
4a626f9337 Optimize unit tests and check for errors 2025-12-28 19:59:44 +08:00
Tw93
52d50a0a80 Improve spinner subprocess and trap cleanup handling 2025-12-28 19:35:29 +08:00
Tw93
a7c989588e improve code quality and fix signal handling 2025-12-26 20:34:38 +08:00
Luke Bullimore
785032635a feat: harden user file handling and gate LaunchServices rebuild (#159)
- add ensure_user_dir/ensure_user_file helpers in lib/core/base.sh, including
  sudo-aware ownership correction under the invoking user’s home
- use the helpers across clean/optimize/purge/uninstall/whitelist to create
  cache and export files safely (no naked mkdir/touch), including log files and
  dry-run exports
- ensure purge stats/count files and update message caches are pre-created with
  safe permissions
- add Darwin version helpers and skip LaunchServices/dyld rebuild on macOS 15+,
  keeping the existing corruption protection for earlier versions
- guard brew cache timestamp writes and TCC permission flags with safe file
  creation to avoid root-owned artifacts
2025-12-26 10:54:56 +08:00
Tw93
9a942a2770 feat: Add configurable project cleanup depth, refine interactive menu display, and sanitize uninstall app names. 2025-12-22 18:53:48 +08:00
Tw93
d2dc68da90 feat: Enhance app protection with centralized critical component checks, improve UI string width calculation, refine analysis and cleaning logic, and add new tests. 2025-12-22 11:24:04 +08:00
Tw93
db83c568df chore: auto format code 2025-12-22 01:46:58 +00:00
Tw93
f8765ee3d3 feat: optimize application scanning performance, improve multi-selection robustness 2025-12-22 09:46:10 +08:00
Tw93
6d087b3b12 Fix the issue of obtaining the path when uninstalling the software 2025-12-21 22:00:02 +08:00
Tw93
f4419c7c7a chore: auto format code 2025-12-20 14:18:53 +00:00
Tw93
2a0fe88fd3 feat: dynamically adjust column widths in UI and analysis output based on terminal size for improved readability 2025-12-20 22:18:06 +08:00
Tw93
8eeed7d079 feat(clean, optimize): enhance recent items cleanup safety 2025-12-18 17:19:18 +08:00
Tw93
a667a1a777 feat: Bump version to 1.13.5, enhance show_version output, optimize software update checks, and add Touch ID for sudo as a security fix. 2025-12-17 11:56:39 +08:00
Tw93
ba8bc3dc8f chore: auto format code 2025-12-17 03:02:06 +00:00
Tw93
27205c653d feat: Boost UI performance with pure bash string width calculation and truncation, and add visual feedback for cache hits in uninstall scripts. 2025-12-17 11:01:15 +08:00
Tw93
b843cde0fd feat: localize app names based on system language and improve UI display width calculation for CJK characters with loading indicator 2025-12-17 10:36:33 +08:00
Tw93
ddef16d5f9 chore: auto format code 2025-12-12 11:56:39 +00:00
Tw93
1e1c57b01f feat: refactor uninstaller logic into uninstall_lib.sh and enhance app scanning with caching, parallel processing, and nested app exclusion. 2025-12-12 19:55:54 +08:00
Tw93
fa75da07ca Add 'F' key to refresh paginated menus, clarify UI text for search and selection, and improve robustness of BOM file processing 2025-12-12 14:33:07 +08:00
Tw93
fc72d69125 chore: auto format code 2025-12-12 01:50:52 +00:00
Tw93
4955e02523 Uninstall supported continue to uninstall 2025-12-12 09:50:14 +08:00
Tw93
3e50a103f6 chore: clean bot commits and improve documentation
- Merged all bot commits (github-actions, Bot) into Tw93 account
     - Fixed M/U/T key bindings in main menu
     - Updated help menu and README command order
     - Improved install script output
     - Updated GitHub Actions to use Tw93 identity
2025-12-10 14:12:43 +08:00
Tw93
2386701897 Fix search problems and best practices 2025-12-08 17:40:54 +08:00
Tw93
9e7fc41445 Enhanced optimization for better use 2025-12-08 15:40:39 +08:00
Tw93
ea8488c1bb Improved User Feedback 2025-12-08 15:34:12 +08:00
Tw93
3b59920bab Simplify the debug code 2025-12-06 12:40:07 +08:00
Tw93
b939442e92 Support debug 2025-12-05 17:16:46 +08:00
Tw93
a92d352376 Safety and Reliability Improvements 2025-12-04 15:06:45 +08:00
Tw93
bb50a345b6 optimize code structure and reduce duplication 2025-12-02 15:24:19 +08:00
Tw93
61644caf92 Uninstall supports multi-level directory search 2025-12-02 10:58:40 +08:00
Tw93
4bd4ffc7be Reconstruct clean lib code 2025-12-01 16:58:35 +08:00
Tw93
75bd91840f Safer cleaning and enhancement capabilities 2025-11-29 22:43:57 +09:00
Tw93
7c4c106558 format 2025-11-27 07:51:38 +09:00
Tw93
0edd6f1562 Compatible with the use of GNU CoreUtils 2025-11-27 07:28:37 +09:00
Tw93
e517bf4a3e format 2025-11-25 17:25:13 +08:00
Tw93
b9760573bc Empty line normalization 2025-11-21 10:44:36 +08:00
Tw93
3ddf2dd3b9 Uninstallation experience enhancement 2025-11-20 15:15:33 +08:00
Tw93
05925194c8 Code robustness enhanced 2025-11-18 23:07:48 +08:00
Tw93
cccc41990e Apply scan cache to simplify 2025-11-15 13:20:58 +08:00
Tw93
4f8f31444d More secure deletion and cannot delete path 2025-11-14 11:38:25 +08:00
Tw93
9a3d5c11aa Incremental check when app is uninstalled 2025-10-22 10:04:12 +08:00
Tw93
640499d302 Greatly improve scanning speed 2025-10-17 21:19:05 +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