Finalize packaging config and verify a real build (step 9)

Cleaned up the scaffold's electron-builder.yml: correct appId
(com.aurora-dockside.app, matching setAppUserModelId) and productName
("Aurora Dockside"), removed the camera/microphone/Documents/Downloads
Info.plist usage descriptions (boilerplate defaults irrelevant to this
app — it's not sandboxed and doesn't touch camera/mic), removed the
placeholder auto-update publish config pointing at example.com (no
signing infra for that yet, matches the plan's decision to defer
auto-update), and dropped the Linux snap target (snapcraft tooling not
part of this pass) to keep AppImage + deb.

Verified for real rather than just reading the config: ran
`pnpm build:unpack`, which typechecks, builds main/preload/renderer
for production, and packages an actual unsigned "Aurora Dockside.app"
via electron-builder (code signing correctly skipped — no Developer ID
cert on this machine, expected for a local dev build). Launched the
packaged binary directly (not `pnpm dev`) with remote debugging and
called window.api.projects.list() over CDP — it returned real project
data, confirming the PATH fallback added back in step 2 (for Homebrew
ddev not being on PATH for GUI-launched apps) actually holds up
outside a dev-mode terminal context, which is the scenario it exists
for.

This completes all 9 steps of the build plan: scaffold, tooling, core
project management, terminal/status bar, database tools, add-on
management, log viewer, project creation wizard, settings/polish, and
now packaging.
This commit is contained in:
R3ap3R
2026-08-03 00:29:31 -05:00
parent 0820c2f3d8
commit cf8104f428
+2 -12
View File
@@ -1,5 +1,5 @@
appId: com.electron.app
productName: aurora-dockside
appId: com.aurora-dockside.app
productName: Aurora Dockside
directories:
buildResources: build
files:
@@ -20,24 +20,14 @@ nsis:
createDesktopShortcut: always
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
dmg:
artifactName: ${name}-${version}.${ext}
linux:
target:
- AppImage
- snap
- deb
maintainer: electronjs.org
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
publish:
provider: generic
url: https://example.com/auto-updates