Skip to content

Releases: Armi1014/TempCleaner

TempCleaner v0.6.0

18 Apr 15:09

Choose a tag to compare

What's changed

  • Added config-file support through TempCleaner.config.json and -ConfigPath.
  • Added opt-in cleanup targets for DirectX shader cache, Delivery Optimization cache, and Windows Error Reporting queues/archives.
  • Added safer non-admin behavior with user-only fallback and allowlisted cleanup roots.
  • Fixed non-interactive preset handling so explicit CLI switches like -WhatIf and -DisableNotifications are preserved.
  • Added Pester test coverage and a GitHub Actions workflow that runs the suite on pushes and pull requests.
  • Clarified that Run-TempCleaner.bat is only a launcher; the cleanup engine is PowerShell-based.
  • Added a README terminal preview and repository line-ending rules.

Verification

  • Local Pester: 24 passed, 0 failed, 1 skipped.
  • GitHub Actions Pester run for 0353020: passed.
  • Manual launcher dry-run verified WhatIf: true, UserOnly: true, and no deletion performed.

v0.5.0

28 Feb 21:37

Choose a tag to compare

TempCleaner v0.5.0: arrow-key mode selector, UI polish, mandatory elevation, removed defaults persistence, and stability fixes.

TempCleaner v0.3.0 – PowerShell Edition

15 Nov 13:13

Choose a tag to compare

🚀 TempCleaner v0.3.0 – PowerShell Edition

This release brings a full PowerShell rewrite of TempCleaner with presets, safer automation, and much better UX.

✨ Highlights

  • Brand-new PowerShell port

    • Presets: Basic, Full, Custom
    • Supports -WhatIf for safe dry-runs
    • Remembers your last-used settings so you can automate without touching the script
  • 🗂️ Per-run logging

    • Every run creates a timestamped log inside logs/
    • The log file path is printed at the end for quick access
    • No more log file clashes or guessing what happened
  • 📊 Progress + summaries

    • Live ASCII progress bars for each cleanup target
    • Color-coded summary at the end:
      • ✅ What was cleaned
      • ⚠️ Which files were locked
      • 📦 Estimated space freed
  • 🖥️ Friendly UI touches

    • Cyan banner + guided mode selector for first-time use
    • Optional desktop notification when cleanup finishes
    • Safe thumbnail-cache cleanup: Explorer is only restarted when necessary

🧪 How to use

  1. Download the release ZIP and extract it so TempCleaner.ps1 and Run-TempCleaner.bat stay together.

  2. Launch via the BAT (Run-TempCleaner.bat). It uses PowerShell in bypass mode so you don’t have to change execution policies manually.

  3. Pick your mode the first time (Basic/Full/Custom). TempCleaner stores your defaults for future runs.

  4. Automate it, e.g. via Task Scheduler or another batch file:

    :: Safe dry-run
    Run-TempCleaner.bat -Silent -WhatIf
    
    :: Real cleanup
    Run-TempCleaner.bat -Silent

v0.2 – Rework

07 Nov 18:06
e8ded35

Choose a tag to compare

🧹 TempCleaner v0.2.0 – Configurable & Automation-Ready

A major upgrade to the safe Windows Temp Cleaner.
Now fully configurable, smarter, and ready for scheduled use.

🔄 What’s New

  • Added config section for logging, folder deletion, prompts, and silent mode
  • Introduced command-line flags /silent and /detailed
  • Improved logging system (summary or detailed)
  • Optional subfolder deletion for complete cleanup
  • Stronger path safety checks for all drives
  • Added admin privilege detection and warning
  • “Silent mode” skips prompts for automation or Task Scheduler use

🧱 Version

v0.2.0 — Minor feature update after prototype v0.1.

📄 Notes

Safe to use on Windows 10/11.
All operations logged locally to cleanup_log.txt.
Run as Administrator for full access.

TempCleaner v0.1

02 Feb 19:52
2bb0169

Choose a tag to compare