build portable

This commit is contained in:
Zamitto 2024-06-05 23:44:08 -03:00
parent 13a4708a02
commit 0faca5c9a1
2 changed files with 7 additions and 0 deletions

View file

@ -44,6 +44,7 @@ jobs:
name: Build-${{ matrix.os }}
path: |
dist/win-unpacked/**
dist/*portable.exe
dist/*.zip
dist/*.dmg
dist/*.deb

View file

@ -19,6 +19,9 @@ asarUnpack:
win:
executableName: Hydra
requestedExecutionLevel: requireAdministrator
target:
- nsis
- portable
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
@ -26,6 +29,9 @@ nsis:
createDesktopShortcut: always
oneClick: false
allowToChangeInstallationDirectory: true
portable:
artifactName: ${name}-${version}-portable.${ext}
requestExecutionLevel: admin
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo: