Skip to content

fix: modernize for Apple Silicon and Node.js 22+ compatibility#225

Open
Facelles wants to merge 3 commits intonilbuild:masterfrom
Facelles:master
Open

fix: modernize for Apple Silicon and Node.js 22+ compatibility#225
Facelles wants to merge 3 commits intonilbuild:masterfrom
Facelles:master

Conversation

@Facelles
Copy link
Copy Markdown

  • Upgrade electron to v28 for native arm64 support
  • Upgrade react-scripts to v5 (Webpack 5, fixes OpenSSL errors)
  • Replace deprecated url.parse() with new URL() API
  • Remove broken spectron/mocha deps (no arm64 binaries)
  • Elevate alwaysOnTop to screen-saver level for true PiP behavior
  • Fix YouTube errors 152/153 via Referer header injection
  • Add built-in ad-skipper via dom-ready JS injection
  • Drop /embed/ coercion in favor of native YouTube page

What does this PR do?

What platforms did you test it on?

- Upgrade electron to v28 for native arm64 support
- Upgrade react-scripts to v5 (Webpack 5, fixes OpenSSL errors)
- Replace deprecated url.parse() with new URL() API
- Remove broken spectron/mocha deps (no arm64 binaries)
- Elevate alwaysOnTop to screen-saver level for true PiP behavior
- Fix YouTube errors 152/153 via Referer header injection
- Add built-in ad-skipper via dom-ready JS injection
- Drop /embed/ coercion in favor of native YouTube page
- Add Cmd+Shift+X global shortcut to toggle click-through/ghost mode
- Enable GPU rasterization and hardware video decoding (VaapiVideoDecoder)
- Disable background throttling so video keeps playing behind other windows
- Add backgroundThrottling: false to webPreferences for smooth PiP
- Skip auto-update check in dev mode for faster startup
- Unregister globalShortcuts on app quit to prevent leaks
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.

1 participant