Desktop installers are published on the origin repository's `releases` branch and attached to the GitHub release. The GitHub repository does not carry that branch.
4. Squid needs no root access and installs no background service, kernel extension, or privileged helper.
### Windows
1. Run `Squid-Setup-<version>-win-x64.exe`.
2. If SmartScreen appears, choose **More info** > **Run anyway**.
3. The default install location is `%LOCALAPPDATA%\Programs\Squid`; no administrator rights are required.
4. If the installer cannot write to `%TEMP%` (some 360 / PC Manager environments), use `一键安装.bat` from the release directory. It copies the installer to `%TEMP%` on drive C: and starts it there.
5. If Squid opens a blank window, install the Microsoft Edge WebView2 Evergreen Runtime and relaunch:
Use `⌘1`–`⌘8` on macOS or `Ctrl+1`–`Ctrl+9` on Windows to switch pages in sidebar order. macOS hides the Windows-only Permissions screen, so later pages shift up.
### Daily cleanup
1. Open **Daily cleanup** and choose a scan scope.
2. Review results by category; each category can be unchecked independently.
3. Choose the deletion mode: Trash / Recycle Bin by default, or explicit permanent deletion.
4. Start cleanup and confirm the dialog.
Rules cover app and browser caches, logs, crash reports, developer caches, upgrade installers, and Trash / Recycle Bin. macOS ships 38 built-in rules; Windows ships 30. Every CLI delete command supports `--dry-run`; the desktop app scans before you select anything.
### Uninstall apps
1. Open **Uninstall apps** and search for an app.
2. Squid builds one plan containing the app bundle plus preferences, caches, containers, or AppData leftovers.
3. Review every item, then confirm.
Leftover matching excludes common document extensions so user documents are not treated as app leftovers.
### Deep Clean
Deep Clean finds rebuildable build output such as `node_modules`, disk images, installers, and stale downloads. Edit `purge_roots` to change the default project roots; `purge_min_age_days` protects projects that are still in use.
### Storage
Choose a folder and Squid measures it level by level, listing the largest children and files. Storage analysis reads only folders you choose or configure; file contents are never uploaded.
### Real-time monitor and processes
- Samples CPU, memory, network, disk, battery, volumes, and high-usage processes every two seconds.
- The **Processes** tab lists every process with its signature status and startup entry.
- Before ending a process, Squid samples it again and checks the name. Squid itself, PID 1, and critical system processes are refused.
- The monitor can be pinned as a desktop widget; all widget settings open from the gear at its top.
### Security
- Reads XProtect / Defender state; it never turns protection off or changes it for you.
- Scans by hash, YARA rule, and heuristic, grading findings as confirmed / suspicious / advisory.
- Confirmed findings can be quarantined and restored.
- The Security page can trust normal software by publisher, app folder, or advisory class. Confirmed threats are never silently allowlisted.
- File names, hashes, findings, and quarantined files are never uploaded.
### Startup items and Permissions
- **Startup items** lists LaunchAgents, LaunchDaemons, login items, registry Run/RunOnce keys, startup folders, scheduled tasks, and services. Entries owned by the current user can be disabled and re-enabled.
- Windows **Permissions** groups startup entries by app and adds shell context-menu extensions, popup-window rules, and a background watcher.
### History and undo
Every real deletion is recorded in a local ledger. Items still in Trash / Recycle Bin can be restored from **History**. On the CLI, use `squid history` and `squid undo`.
### Software updates
- Automatic checks run at most once a day; check manually in **Settings → Updates**.
- The manifest comes from the origin `releases` branch, not from GitHub.
- Installers must match the manifest's exact size and SHA256. Builds with a release public key also verify the manifest's Ed25519 signature.
- After a verified download, install and restart, or discard the downloaded file.
| `squid guard quarantine <ID>` / `restore <ID>` | Quarantine or restore a finding |
| `squid guard held` | List quarantine contents and reasons |
Every delete command supports `--dry-run`. Non-interactive environments must pass `-y/--yes` or Squid refuses the deletion. Run `squid <command> --help` for complete options.
## 5. Configuration and data
| Purpose | macOS | Windows |
| --- | --- | --- |
| Configuration and rules | `~/Library/Application Support/squid/` | `%APPDATA%\squid\` |
| History ledger | `~/Library/Application Support/squid/history/` | `%APPDATA%\squid\history\` |
| Delete destination | `~/.Trash` or permanent deletion | Recycle Bin or permanent deletion |
Linux uses XDG directories. The desktop app and CLI/TUI share configuration and history.
Common configuration (`config.toml`):
```toml
delete_mode = "trash"
history_keep = 60
purge_min_age_days = 7
purge_max_entries = 200000
show_allocated = true
# Empty means "follow system"; set "en" or "zh" to override
Install the WebView2 Evergreen Runtime and relaunch Squid.
### Windows installer cannot write temporary files
When the installer runs from a non-system drive or a folder restricted by endpoint protection, NSIS may fail to unpack into `%TEMP%`. Copy it to `%TEMP%` on drive C: and run it there, or use `一键安装.bat` from the release directory.
### Cleanup finds less than expected
Check Full Disk Access on macOS, plus `whitelist`, `disabled_rules`, and the Security page's trusted list. Without Full Disk Access, TCC-protected locations are skipped and the Security page reports coverage as limited.