* feat(electron): update electron-builder.yml to specify artifact naming convention for Windows builds. This change enhances clarity and consistency in the build output.
* feat(electron): implement a file logger for the main process
- Added a new logger module that writes logs to `{userData}/logs/main.log` with daily rotation and retains logs for the last 7 days.
- Integrated logging functionality into the main process, replacing console error messages with log entries for better error tracking and debugging.
- Introduced IPC handlers to retrieve the log directory path for user access.
- Updated the preload and main files to utilize the new logging system, enhancing overall application reliability and maintainability.
* feat(mcp): introduce layered design workflow and selection management
- Added a new layered design workflow with tools: `design_skeleton`, `design_content`, and `design_refine` for improved multi-section design generation.
- Implemented segmented prompt retrieval in `get_design_prompt` to allow focused access to design knowledge.
- Created new API endpoints for managing canvas selection state with `selection.get` and `selection.post`, enabling real-time updates and synchronization.
- Enhanced document management with live selection fetching and improved node operations for better design content handling.
- Updated README and CLAUDE.md to reflect new features and usage guidelines for the layered design process.
78 lines
1.6 KiB
YAML
78 lines
1.6 KiB
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
|
|
artifactName: "${productName}-${version}-${arch}-mac.${ext}"
|
|
target:
|
|
- dmg
|
|
- zip
|
|
hardenedRuntime: true
|
|
gatekeeperAssess: false
|
|
notarize: true
|
|
|
|
dmg:
|
|
title: "${productName} ${version}"
|
|
|
|
win:
|
|
icon: build/icon.ico
|
|
artifactName: "${productName}-${version}-${arch}-win.${ext}"
|
|
target:
|
|
- nsis
|
|
- portable
|
|
|
|
nsis:
|
|
artifactName: "${productName}-${version}-${arch}-win-setup.${ext}"
|
|
oneClick: false
|
|
perMachine: false
|
|
allowToChangeInstallationDirectory: true
|
|
createDesktopShortcut: true
|
|
createStartMenuShortcut: true
|
|
|
|
linux:
|
|
icon: build/icon.png
|
|
category: Graphics
|
|
artifactName: "${productName}-${version}-${arch}-linux.${ext}"
|
|
desktop:
|
|
entry: |
|
|
[Desktop Entry]
|
|
Name=OpenPencil
|
|
Exec=AppRun --no-sandbox %U
|
|
Terminal=false
|
|
Type=Application
|
|
Icon=openpencil
|
|
StartupWMClass=openpencil
|
|
Categories=Graphics;
|
|
MimeType=application/x-openpencil;
|
|
target:
|
|
- AppImage
|
|
- deb
|
|
|
|
fileAssociations:
|
|
- ext: op
|
|
name: OpenPencil Document
|
|
description: OpenPencil Design File
|
|
mimeType: application/x-openpencil
|
|
role: Editor
|
|
icon: build/icon
|
|
|
|
asar: true
|