diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c9094117..14cc8e0d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,7 @@ jobs: name: Build-${{ matrix.os }} path: | dist/win-unpacked/** + dist/*portable.exe dist/*.zip dist/*.dmg dist/*.deb diff --git a/electron-builder.yml b/electron-builder.yml index 31ac3158..7fc7c90a 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -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: