1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-08 05:04:23 +00:00
Commit Graph

2 Commits

Author SHA1 Message Date
Bhadra
a2f0ae6078 fix: repair command icon and null input handling
- Replace non-existent Icons.Mole with Icons.Admin
- Add null check for empty menu input
2026-01-12 12:14:45 +05:30
Bhadra
afe8d09c7c feat: add repair command with cache rebuilds and system fixes
Add new 'mole repair' command with the following utilities:
- DNS cache flush (Repair-DnsCache)
- Font cache rebuild (Repair-FontCache) - requires admin
- Icon cache rebuild (Repair-IconCache) - restarts Explorer
- Windows Search index reset (Repair-SearchIndex) - requires admin
- Windows Store cache reset (Repair-StoreCache) - runs wsreset.exe

Features:
- Interactive menu when run without arguments
- Command-line flags: -DNS, -Font, -Icon, -Search, -Store, -All
- Dry-run mode support
- Proper service stop/start for font and search repairs

Usage:
  mole repair           # Interactive menu
  mole repair -DNS      # Flush DNS only
  mole repair -All      # Run all repairs
2026-01-12 12:01:48 +05:30