Switches from win portable to zip

This commit is contained in:
David Benson 2025-05-26 14:24:05 +01:00
parent a8cad88dd8
commit d2b655b658
3 changed files with 13 additions and 18 deletions

View File

@ -69,6 +69,19 @@ jobs:
#Enable auto-update again
yarn run sync
yarn run release-win
- name: Build unpacked Windows x64 (for zip portable)
shell: powershell
run: |
yarn run sync disableUpdate
yarn run electron-builder --win --x64 --dir
- name: Zip unpacked x64 build
shell: powershell
run: |
$version = "${{ github.ref }}" -replace 'refs/tags/v', ''
cd dist
7z a "draw.io-$version-windows.zip" ".\win-unpacked\*"
- name: Build for Windows (APPX)
shell: powershell #The default shell for Windows
run: |

View File

@ -21,12 +21,6 @@
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
},
{
"target": "msi",
"arch": [
@ -48,9 +42,6 @@
"runAfterFinish": false,
"createDesktopShortcut": false
},
"portable": {
"artifactName": "${productName}-${version}-windows-no-installer.${ext}"
},
"afterPack": "build/fuses.cjs",
"fileAssociations": [
{

View File

@ -20,12 +20,6 @@
"arch": [
"ia32"
]
},
{
"target": "portable",
"arch": [
"ia32"
]
}
]
},
@ -37,9 +31,6 @@
"runAfterFinish": false,
"createDesktopShortcut": false
},
"portable": {
"artifactName": "${productName}-ia32-${version}-windows-32bit-no-installer.${ext}"
},
"afterPack": "build/fuses.cjs",
"fileAssociations": [
{