Add fun visual-effect commands (Confetti, Fireworks, Snow, Rain) + expanded tray menu#631
Open
temperatio wants to merge 3 commits into
Open
Add fun visual-effect commands (Confetti, Fireworks, Snow, Rain) + expanded tray menu#631temperatio wants to merge 3 commits into
temperatio wants to merge 3 commits into
Conversation
@esbuild/darwin-arm64 and @esbuild/darwin-x64 were pinned as regular dependencies, so npm install failed with EBADPLATFORM on any single- architecture Mac (e.g. arm64-only) instead of just skipping the mismatched one. The postinstall script already backfills whichever platform binary is missing for universal builds, so the hard pin was both redundant and breaking fresh installs.
Adds four native "fun" system commands modeled after Raycast's built-in Confetti extension, each rendering via a shared transparent always-on-top overlay window helper (showFullScreenOverlayEffect): - Confetti: multi-burst rectangle particles, tuned for wide screen coverage - Fireworks: staggered rocket launches with trails that explode into radial showers - Snow: continuously-recycled snowfall with sway, density scaled to screen size - Rain: wind-angled streaks with ground splashes, same density scaling Bursts stack instead of replacing one another — retriggering a command while a previous burst is still animating layers a new overlay window on top rather than closing the old one, matching Raycast's behavior.
…menu The menu bar tray only offered Open/Quit. Adds direct access to SuperCmd Settings, the Extension Store, a manual "Check for Updates..." action, and a "Launch at Login" checkbox toggle — all standard menu-bar app affordances. Extracted the app-updater check/download/restart flow and the open-at-login apply+persist pairing into standalone functions (runAppUpdaterCheckAndInstall, setOpenAtLogin) so the tray items and their existing IPC handlers share the same code instead of duplicating it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
showFullScreenOverlayEffect) and shows up in the command palette like any other system command.npm installfailure on single-architecture Macs (e.g. Apple Silicon-only):@esbuild/darwin-x64/@esbuild/darwin-arm64were pinned as harddependencies, causingEBADPLATFORMinstead of being skipped like normal optional platform packages. Moved tooptionalDependencies— the existingpostinstallscript already backfills whichever platform binary is missing for universal builds.Details
system-confetti: multi-burst rectangle particles tuned for wide screen coverage.system-fireworks: staggered rocket launches with trails that explode into radial showers.system-snow: continuously-recycled snowfall with sway, density scaled to screen size.system-rain: wind-angled streaks with ground splashes, same density scaling.runAppUpdaterCheckAndInstall,setOpenAtLogin) so the new tray items and their existing IPC handlers share the same code instead of duplicating it.Test plan
npm run build:main/build:renderer/build:nativeall succeed_electrondriver against an isolated--user-data-dirprofile (never touched a real user profile): each command appears in the palette with correct title/icon, executing it spawns the real overlay window, and windows auto-close with no leakssetOpenAtLogin,system-open-extension-store,app-updater-check-and-install) — no crashes, expected results