Skip to content

macOS fixes, keyboard shortcut, own app bundle, bottles and score - #65

Open
shmulc8 wants to merge 40 commits into
GitFrog1111:mainfrom
shmulc8:macos-fixes
Open

shmulc8 wants to merge 40 commits into
GitFrog1111:mainfrom
shmulc8:macos-fixes

Conversation

@shmulc8

@shmulc8 shmulc8 commented Sep 8, 2026

Copy link
Copy Markdown

Fixes the macOS experience end to end and adds a small game layer.

macOS fixes

  • Tray icon rendered blank: the 64px thumbnail is now resized to 18px.
  • Left-click opened the Quit menu instead of spawning: menu moved to right-click.
  • Overlay stole app activation, so the typed phrase went nowhere: showInactive() plus a hidden Dock icon. Overlay also shows on all Spaces and over fullscreen apps.
  • Accessibility grant landed on the terminal, not the app: first run builds OpenWhip.app (a renamed, re-signed copy of the bundled Electron with the whip icon, com.openwhip.app) and launches it through open, so macOS attributes keystrokes to OpenWhip.
  • Single-instance lock: a second openwhip toggles the whip instead of adding a tray icon.

New

  • Alt+Shift+W global shortcut to summon or drop the whip.
  • Whip physics: mass-tapered chain and speed-dependent air drag, so the tip snaps harder.
  • Bottles on two shelf rows shatter when the tip hits them fast. Score with combo multiplier, best score persisted.

README covers the Accessibility step and the Node 26 electron postinstall failure.

- Build OpenWhip.app (renamed, re-signed Electron with the whip icon) on first run and launch it via open, so Accessibility is granted to OpenWhip rather than the terminal
- Tray: resize icon for the menu bar, left-click toggles, right-click quits
- Show the overlay inactive and on all Spaces; single-instance lock; Alt+Shift+W global shortcut
- Whip: mass-tapered chain and speed-dependent air drag
- Bottles on shelves shatter on fast tip hits, with score, combo and persisted best
…he last three links; per-substep bottle hits
…o the tip); back to a single physics step and the original chain parameters
…amping, rest damping and sleep threshold when the hand is still
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