From cf8104f4281b6c310cd025efb6006b61fab4bb69 Mon Sep 17 00:00:00 2001 From: R3ap3R Date: Mon, 3 Aug 2026 00:29:31 -0500 Subject: [PATCH] Finalize packaging config and verify a real build (step 9) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- electron-builder.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/electron-builder.yml b/electron-builder.yml index f15ba0d..d78d8d3 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -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