Use this before testing against a real Desktop.
./scripts/smoke-test.shThe smoke test creates a temporary fake Desktop and Archive folder. It checks:
- screenshot detection for
Screenshot ... .png - CleanShot screenshot detection
- document, media, and archive matching
- hidden file and folder skipping
- Quick Archive date folders based on creation date
- Sort by Type folders
- Smart Clean
Skip - undo restore behavior
It does not touch ~/Desktop or ~/Documents/Archive.
swiftc RackOffApp.swift ContentView.swift VacManager.swift PreferencesView.swift RackOffConstants.swift \
-target arm64-apple-macos12.0 \
-framework SwiftUI \
-framework AppKit \
-framework UserNotifications \
-parse-as-library \
-typecheckOnly do this when you are ready for RackOff to move real files.
- Build the app:
./build.sh- Open it:
open RackOff.app-
Set the mode to
Quick. -
Start with screenshots only enabled.
-
Confirm the archive destination is the default
~/Documents/Archive. Saved preferences can change this. The current Preferences UI also has a known display bug where it can show~/Desktop/Archiveeven though the actual default is~/Documents/Archive. -
Click
Clean Now. -
Confirm screenshots moved to:
~/Documents/Archive/YYYY-MM-DD/
- Use
Undo Last Cleanfrom the right-click menu or Preferences footer and confirm the files return to Desktop.
- Are screenshots best grouped daily, weekly, or by project/source?
- Should documents default to off, or should PDFs be cleaned by default?
- Should CSV/JSON/XML/log files live under Archives, Documents, or Developer Files?
- Should media exclude all screenshot tools, including CleanShot and screen recordings?
- Should RackOff support multiple source folders before launch, or stay Desktop-only first?