mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-14 13:22:37 +00:00
Packaged windows read resources/icon.png, but Linux packages only installed desktop-entry icons. Include the runtime PNG and verify its bytes in the existing packaged artifact smoke test. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Ivan Pantic <panta@talentkit.io> Co-authored-by: Max Höhl <43786929+whme@users.noreply.github.com>
107 lines
3.1 KiB
YAML
107 lines
3.1 KiB
YAML
npmRebuild: false
|
|
appId: sh.paseo.desktop
|
|
productName: Paseo
|
|
executableName: Paseo
|
|
protocols:
|
|
- name: Paseo agent link
|
|
schemes:
|
|
- paseo
|
|
afterPack: ./scripts/after-pack.js
|
|
afterSign: ./scripts/after-sign.js
|
|
directories:
|
|
output: release
|
|
files:
|
|
- dist/**/*
|
|
- "!**/*.map"
|
|
- "!node_modules/@getpaseo/*/src/**"
|
|
- "!node_modules/@getpaseo/**/*.test.*"
|
|
- "!node_modules/@getpaseo/**/*.spec.*"
|
|
- "!node_modules/@getpaseo/server/dist/server/web-ui/**"
|
|
- "!node_modules/@getpaseo/server/dist/server/builtin-plugins/**"
|
|
# Workspace packages are symlinked, so anything a dev generates inside them
|
|
# lands in the asar. CI never has these; a local .debug run adds gigabytes.
|
|
- "!node_modules/@getpaseo/*/.debug/**"
|
|
- "!node_modules/@getpaseo/*/.tasks/**"
|
|
- "!node_modules/@getpaseo/*/conversations/**"
|
|
- "!node_modules/@getpaseo/*/test-results/**"
|
|
asarUnpack:
|
|
- dist/daemon/node-entrypoint-runner.js
|
|
- node_modules/@getpaseo/server/dist/server/terminal/shell-integration/**/*
|
|
extraResources:
|
|
# Preserve physical compiler inputs, including .d.ts files omitted from packaged node_modules.
|
|
- from: ../server/dist/server/builtin-plugins
|
|
to: builtin-plugins
|
|
- from: ../app/dist
|
|
to: app-dist
|
|
- from: assets/editor-targets
|
|
to: editor-target-icons
|
|
publish:
|
|
provider: github
|
|
owner: getpaseo
|
|
repo: paseo
|
|
mac:
|
|
artifactName: "Paseo-${version}-${arch}.${ext}"
|
|
minimumSystemVersion: "13.0.0"
|
|
category: public.app-category.developer-tools
|
|
icon: assets/icon.icns
|
|
hardenedRuntime: true
|
|
notarize: true
|
|
entitlements: build/entitlements.mac.plist
|
|
entitlementsInherit: build/entitlements.mac.inherit.plist
|
|
extraResources:
|
|
- from: bin/paseo
|
|
to: bin/paseo
|
|
- from: assets/icon.png
|
|
to: icon.png
|
|
target:
|
|
- dmg
|
|
- zip
|
|
linux:
|
|
category: Development
|
|
icon: assets
|
|
artifactName: "Paseo-${version}-${arch}.${ext}"
|
|
maintainer: "Mohamed Boudra <hello@moboudra.com>"
|
|
vendor: "Paseo"
|
|
extraResources:
|
|
- from: bin/paseo
|
|
to: bin/paseo
|
|
- from: assets/icon.png
|
|
to: icon.png
|
|
target:
|
|
- AppImage
|
|
- deb
|
|
- rpm
|
|
- tar.gz
|
|
deb:
|
|
afterInstall: scripts/linux-sandbox/after-install.tpl
|
|
rpm:
|
|
afterInstall: scripts/linux-sandbox/after-install.tpl
|
|
appImage:
|
|
# A nonempty argument list replaces builder's hardcoded --no-sandbox default.
|
|
executableArgs: ["--class=Paseo"]
|
|
# Keep the AppImage filename stable across versions (no ${version}) so
|
|
# electron-updater overwrites the file in place instead of renaming it to a new
|
|
# versioned path. A rename orphans the old binary, breaks desktop shortcuts, and
|
|
# dangles the ~/.local/bin/paseo CLI symlink, which points at $APPIMAGE. The
|
|
# version stays discoverable via the release tag and the in-app version.
|
|
artifactName: "Paseo-${arch}.${ext}"
|
|
win:
|
|
artifactName: "Paseo-Setup-${version}-${arch}.${ext}"
|
|
icon: assets/icon.ico
|
|
extraResources:
|
|
- from: bin/paseo.cmd
|
|
to: bin/paseo.cmd
|
|
target:
|
|
- target: nsis
|
|
arch:
|
|
- x64
|
|
- arm64
|
|
- target: zip
|
|
arch:
|
|
- x64
|
|
- arm64
|
|
nsis:
|
|
oneClick: false
|
|
perMachine: false
|
|
allowToChangeInstallationDirectory: true
|