openpencil/electron-builder.yml
Kayshen Xu 198a2685a6 V0.0.3 (#11)
* feat(editor): add github releases auto update flow

Enable desktop auto-update checks and install prompt so packaged apps can update from published GitHub Releases.

* fix(canvas): keep frame labels aligned during zoom

Draw labels in viewport space with zoom-aware positioning so frame titles stay anchored while panning and zooming.

* fix(ai): disable chat interactions when no models connected

Prevent sending and shortcut actions when provider models are unavailable, and show a concise model picker hint to avoid false-available UI states.

* docs: refresh readme community and demo section

Embed the product demo video inline, add a styled Discord community entry, and update media assets for clearer README presentation.

* chore: update nitro external dependency settings

Align SSR bundling with current runtime usage by removing the unnecessary @opencode-ai external entries.

* feat(electron): enhance macOS build process and update auto-updater

- Added a new build script for macOS that allows building for both arm64 and x64 architectures.
- Updated GitHub Actions workflow to support separate build arguments for macOS arm64 and x64.
- Implemented a custom GitHub update provider for macOS to handle versioning based on architecture.
- Introduced a new icon for the electron app and removed the old logo image.

---------

Co-authored-by: Fini <fini.yang@gmail.com>
2026-02-26 21:33:48 +08:00

58 lines
914 B
YAML

appId: dev.openpencil.app
productName: OpenPencil
copyright: Copyright (c) 2024-2026 OpenPencil contributors
directories:
output: dist-electron
buildResources: build
files:
- electron-dist/**/*
- "!node_modules"
extraResources:
- from: .output/server
to: server
- from: .output/public
to: public
- from: dist/mcp-server.cjs
to: mcp-server.cjs
mac:
category: public.app-category.graphics-design
icon: build/icon.icns
target:
- dmg
- zip
hardenedRuntime: true
gatekeeperAssess: false
dmg:
title: "${productName} ${version}"
win:
icon: build/icon.ico
target:
- nsis
- portable
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
linux:
icon: build/icon.png
category: Graphics
target:
- AppImage
- deb
asar: true
publish:
provider: github
owner: ZSeven-W
repo: openpencil
releaseType: release