···108108That bundled backend is built with `CGO_ENABLED=0` on purpose; keep it that way unless the CLI/backend grows an unavoidable native dependency.
109109The Windows release bundle now includes both `mistermorph-desktop.exe` and `mistermorph.exe`; keep them in the same directory after unzip.
110110The Windows release workflow also generates a `.ico` and Windows `.syso` resource on the runner so the published desktop executable carries the app icon.
111111+The macOS packaging script signs the `.app` bundle in two modes:
112112+113113+- with `CODESIGN_IDENTITY`: Developer ID signing, plus notarization if Apple notarization credentials are also present
114114+- without `CODESIGN_IDENTITY`: ad hoc signing for local builds or test-user distribution
115115+116116+The ad hoc path is intentional for the current testing phase. Test users may still need to manually bypass Gatekeeper on first launch.
111117112118If you want the same Windows executable icon in a local Windows build, run:
113119
+6-1
desktop/wails/packaging/package-darwin.sh
···127127 --timestamp \
128128 "${APP_DIR}"
129129else
130130- echo "no CODESIGN_IDENTITY set; applying ad-hoc signature"
130130+ echo "no CODESIGN_IDENTITY set; applying ad-hoc signature for test distribution"
131131 codesign --deep --force --sign - "${APP_DIR}"
132132fi
133133+134134+echo "verifying app bundle signature..."
135135+codesign --verify --deep --strict --verbose=2 "${APP_DIR}"
133136134137if [[ -n "${CODESIGN_IDENTITY}" && -n "${APPLE_ID}" && -n "${APPLE_TEAM_ID}" && -n "${APPLE_APP_PASSWORD}" ]]; then
135138 echo "submitting app bundle for notarization..."
···140143 --wait
141144 echo "stapling notarization ticket to app bundle..."
142145 xcrun stapler staple "${APP_DIR}"
146146+elif [[ -n "${CODESIGN_IDENTITY}" ]]; then
147147+ echo "skipping notarization because Apple notarization credentials are incomplete"
143148fi
144149145150tar -C "${OUT_DIR}" -czf "${TARBALL_PATH}" "${APP_BUNDLE_NAME}.app"
+1-1
docs/app.md
···142142143143## Known Gaps
144144145145-- No notarization or codesign flow yet for the macOS DMG.
145145+- macOS DMG supports ad hoc signing for test distribution and Developer ID signing when release secrets are configured, but ad hoc builds still require testers to manually bypass Gatekeeper on first launch.
146146- Windows ships as a zip bundle, not an installer.
147147- No dedicated UI yet for backend startup failures.
148148- The wrapper still reuses the CLI backend through child-process orchestration rather than an in-process console module.