cicy-desktop 2.1.145 → 2.1.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -115,11 +115,16 @@ jobs:
|
|
|
115
115
|
run: |
|
|
116
116
|
set -euo pipefail
|
|
117
117
|
rm -rf dist
|
|
118
|
+
# Build BOTH arches: --arm64 (Apple Silicon) AND --x64 (Intel). The runner
|
|
119
|
+
# is arm64 and electron-builder cross-builds x64, so Intel Macs get a NATIVE
|
|
120
|
+
# dmg instead of being forced onto the slow `npx` electron path (the repo had
|
|
121
|
+
# only arm64 dmgs, so x86_64 Macs had no installer). cicy-code sidecar is
|
|
122
|
+
# already built for darwin amd64 + arm64 above.
|
|
118
123
|
if [ -f build/logo.icns ]; then
|
|
119
|
-
npm run build:mac -- --config.mac.icon=build/logo.icns --publish always
|
|
124
|
+
npm run build:mac -- --arm64 --x64 --config.mac.icon=build/logo.icns --publish always
|
|
120
125
|
else
|
|
121
126
|
echo "::warning::build/logo.icns missing — using default Electron icon"
|
|
122
|
-
npm run build:mac -- --publish always
|
|
127
|
+
npm run build:mac -- --arm64 --x64 --publish always
|
|
123
128
|
fi
|
|
124
129
|
|
|
125
130
|
- name: Upload macOS artifacts
|