You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// NOTICE: Same channel rule as Windows. Keep `${arch}` here so generated metadata resolves
127
+
// to architecture-specific update feeds on macOS (for example: `latest-x64-mac.yml`, `latest-arm64-mac.yml`).
128
+
publish: {
129
+
provider: 'github',
130
+
owner: 'moeru-ai',
131
+
repo: 'airi',
132
+
// NOTICE: `channel: 'latest-${arch}'` matters because electron-builder expands
133
+
// `${arch}` before it writes any publish metadata, and electron-updater later
134
+
// reuses that expanded channel string when deciding which `*.yml` file to fetch.
135
+
//
136
+
// Without this, the updater would look for `latest-mac.yml` for both x64 and arm64 macOS builds,
137
+
// which means the x64 build would be used for arm64 (Apple Silicon) users, causing suboptimal performance and higher resource usage. By embedding `${arch}`
138
+
// into the channel name, we ensure that the updater looks for `latest-x64-mac.yml` and `latest-arm64-mac.yml` respectively.
139
+
//
140
+
// This is how channel name was constructed:
141
+
//
142
+
// 1. `expandPublishConfig(...)` expands string values in the publish config.
143
+
// That is where `latest-${arch}` becomes `latest-x64` or `latest-arm64`.
// NOTICE: `channel: 'latest-${arch}'` matters because electron-builder expands
159
-
// `${arch}` before it writes any publish metadata, and electron-updater later
160
-
// reuses that expanded channel string when deciding which `*.yml` file to fetch.
161
-
//
162
-
// Without this, the updater would look for `latest-mac.yml` for both x64 and arm64 macOS builds,
163
-
// which means the x64 build would be used for arm64 (Apple Silicon) users, causing suboptimal performance and higher resource usage. By embedding `${arch}`
164
-
// into the channel name, we ensure that the updater looks for `latest-x64-mac.yml` and `latest-arm64-mac.yml` respectively.
165
-
//
166
-
// This is how channel name was constructed:
167
-
//
168
-
// 1. `expandPublishConfig(...)` expands string values in the publish config.
169
-
// That is where `latest-${arch}` becomes `latest-x64` or `latest-arm64`.
- The generated artifact is a placeholder file meant for update discovery and early download flow verification.
83
+
- Real signed installer execution remains a separate manual verification step.
84
+
- The first pass is manual-first by design. A Playwright `_electron` smoke layer can be added on top later.
85
+
- When invoking the package scripts through `pnpm -F @proj-airi/stage-tamagotchi`, treat `--root` as relative to `apps/stage-tamagotchi`, not the workspace root.
0 commit comments