fix: prevent macOS backend Dock registration
Preload a backend-only JS title accessor from an unpacked macOS resource before Next starts. Preserve Windows and Linux launch arguments, and test title semantics, process scope, argument order, and resource copying. Based on the prevention approach proposed by marchellodev in PR #47.
This commit is contained in:
@@ -100,6 +100,11 @@ extraResources:
|
||||
filter:
|
||||
- "standalone/**/*"
|
||||
mac:
|
||||
# The backend's --require runs before Next loads. Keep this resource
|
||||
# outside app.asar so early Node-mode loading needs no ASAR support.
|
||||
extraResources:
|
||||
- from: electron/server-title-guard.cjs
|
||||
to: server-title-guard.cjs
|
||||
icon: build/icon.icon
|
||||
# zip rides next to dmg (flipped 2026-10-08): Squirrel.Mac — Electron's
|
||||
# macOS auto-updater — installs from ZIP and cannot read DMGs. DMG is
|
||||
|
||||
Reference in New Issue
Block a user