Skip to content

feat(windows): windows port at parity with the mac app - #3

Open
OleanjiKingCode wants to merge 16 commits into
mainfrom
feat/windows-port
Open

OleanjiKingCode wants to merge 16 commits into
mainfrom
feat/windows-port

Conversation

@OleanjiKingCode

@OleanjiKingCode OleanjiKingCode commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Why

There is no Windows version people can install. The Windows port on this branch stopped at the Oct 2 Zero Day work, so it has no dog, no LLM mode, no Stepped out, no Zero Day sound, and it still shows the 3 second countdown and the 2 minute idle default. It also said the repo must stay private because of the cat art, which is no longer true: the art is used with the artist's permission.

Change

  • Merged main into feat/windows-port, then ported everything the Mac app gained since.
  • windows/ScreenCat/Config.cs: new keys with the Mac defaults: pet, zeroDaySound, zeroDayVolume, steppedOut, the llm* keys. idleCrawlSeconds is now 1800.
  • Sprites.cs, CatArt.cs: the dog sheet and ball (eyes darkened, outfit still found), the dog's shorter stride, and TrayImage for a pet-shaped tray icon that fits at every tray size (16 px up to 48 px).
  • Behavior.cs: AskBehavior and Routine.Ask, the cat that sits under the answer card.
  • IdleCrawl.cs, GlitchTakeover.cs: Zero Day starts at once, with a 1.5 s input grace. CountdownRecipe is gone.
  • LLM.cs (new): Asker (Claude API with your key, or the claude command with --system-prompt-file so cmd.exe never sees the prompt), ApiKey in Windows Credential Manager, and QuestionWatch (clipboard sequence number with a retry when another app holds the clipboard, password-manager formats skipped, the Screenshots folder, and a skip for the second half of a copy-and-save pair, because Windows screenshot tools do both).
  • AnswerCard.cs (new): the answer card as a borderless WinForms window. It shows without taking focus, COPY and the cross never take focus, and it is excluded from captures before its first frame. Also the API key dialog.
  • ZeroDaySound.cs (new): the Mac synth, played through waveOut on its own thread. It stops on a clock even if the device stops taking buffers. No NuGet packages.
  • StayAwake.cs (new): Stepped out with SetThreadExecutionState.
  • App.cs: the grouped tray menu (Pet, Mode, Play now, LLM mode, Activity log, Settings), pet switch, Stepped out, LLM mode, Zero Day sound and hop whoosh, first-run welcome, and dots on the tray icon for stepped out and quiet answers.
  • Program.cs: --ask, --ask-image and --zeroday-sound.
  • Assets/: dog art, AppIcon.ico made from the Mac icon, new CREDIT.txt.
  • .github/workflows/windows.yml: a published release gets ScreenCat-windows-<version>.zip attached by a separate release job. Only that job can write; every other run has a read-only token.
  • README.md, windows/README.md: Windows install steps, menu, LLM mode, release.

Left alone: the Mac app, the playground (still Mac only), and the answer-card follow-ups from feat/llm-follow-up (not on main yet).

Checks

  • dotnet build -c Release -p:EnableWindowsTargeting=true on macOS: no errors, no warnings.
  • CI on windows-latest: build, single-exe publish, and ScreenCat.exe --selftest, all green. The report checks the dog, the tray icon at 16, 20, 32 and 48 px, the LLM reply parsing, Zero Day with no countdown, the sound, the LLM cat's walk, and all 50 glitch styles.
  • Two review passes (standards, and parity with mac/Sources). Their fixes are in the last three commits.
  • Not run by hand on a Windows PC yet. To try it: download the ScreenCat-win-x64 artifact from the CI run, run the exe, then try Pet > Dog, LLM mode with a copied question, Stepped out (powercfg /requests), and Play now > Zero Day.

@OleanjiKingCode OleanjiKingCode changed the title [NOT READY] feat(windows): windows port at parity with the mac app feat(windows): windows port at parity with the mac app Oct 31, 2026
@OleanjiKingCode
OleanjiKingCode marked this pull request as ready for review October 31, 2026 15:20
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