Switches from win portable to zip
This commit is contained in:
parent
a8cad88dd8
commit
d2b655b658
13
.github/workflows/electron-builder-win.yml
vendored
13
.github/workflows/electron-builder-win.yml
vendored
@ -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: |
|
||||
|
@ -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": [
|
||||
{
|
||||
|
@ -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": [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user