Skip to content

Prepare DiskSweeper for a public portfolio release - #1

Closed
process631 wants to merge 1 commit into
mainfrom
cursor/portfolio-ready-6ada
Closed

process631 wants to merge 1 commit into
mainfrom
cursor/portfolio-ready-6ada

Conversation

@process631

Copy link
Copy Markdown
Owner

Summary

Makes DiskSweeper ready to show publicly later, without changing repository visibility or the app's scan and delete behavior.

  • Replaces the README with a landing page: what the app does, features, stack, how the scan and delete pipeline works, and Windows build, test, and publish steps that match the project.
  • Adds an MIT license. No dependency requires a different license (Bulk Crap Uninstaller is only linked, not vendored).
  • Extends .gitignore for local secrets and keys. There were no secrets, personal data files, or build artifacts in the tree to delete.
  • Confines the elevated helper's result file to a DiskSweeper-{guid}.json file in the temp folder, so a crafted --admin-job / --result command line cannot overwrite an arbitrary path.
  • Allowlists Cleanup advice commands (the exact shell and .exe commands shipped in JunkRules.json, plus ms-settings: and https:// links) instead of interpolating them into PowerShell.
  • Prefixes deletion-log cells that start with =, +, -, or @ so Excel does not treat a hostile file name as a formula.
  • Lets the WPF project compile off Windows (EnableWindowsTargeting) and adds a Windows GitHub Actions workflow that runs dotnet test.

The whole solution builds with the .NET 9 SDK. New safety tests pass. The existing Windows-only tests still need Windows (and an administrator terminal for the fast-scan and take-ownership cases).

Publishing notes

Repository visibility was left private. Git history was not rewritten. The two existing commits contain no secrets or large binaries; they do contain the GitHub noreply identity process631 <264312101+process631@users.noreply.github.com>. No UI screenshots were added, because this app cannot be launched outside Windows.

Open in Web Open in Cursor 

Add an MIT license and a landing-page README, and close the gaps that
should not ship: the elevated helper can no longer write outside the
temp folder, cleanup advice commands are allowlisted, and the deletion
log neutralizes spreadsheet formulas. The WPF project now compiles off
Windows, and a Windows CI workflow runs the test suite.

Co-authored-by: process631 <process631@users.noreply.github.com>
@process631 process631 closed this Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants