fiz mac build

This commit is contained in:
     Фонтош Иван Сергеевич
2026-05-18 09:19:42 +08:00
parent 02b3131f19
commit 8ec830cdb5
5 changed files with 131 additions and 3 deletions
+2 -1
View File
@@ -4,10 +4,11 @@
```bash
npm ci
npm run build
npm run pack:mac
```
`pack:mac` сам вызывает `build` и `scripts/release-mac-prep.mjs` — подтягивает **оба** набора нативных бинарников sharp (x64 и arm64). Без этого x64-сборка с Apple Silicon падает при старте с ошибкой `Could not load the "sharp" module using the darwin-x64 runtime`.
В `release/` (имена **без версии**):
- `latest-mac.yml` — сгенерирован electron-builder, не копируйте старый с Windows