mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 12:19:46 -04:00
Update Create-DraftRelease.ps1
Former-commit-id: 9f50263db595c0c0d9f41ab29d93e054dcff3e58 [formerly 468673dd97bb0007f0a5b2e1885ed993034b8572 [formerly cc0e6dac04edf0b995976fef95f77dda774895bf]] Former-commit-id: 5473c208ccfd9f558ce2e9766c4328b78ecf65ba Former-commit-id: 17e716f837b91c6b28c1ad229dfb3021a3c1fdbf
This commit is contained in:
parent
8fc05e316c
commit
ccf5f4740f
@ -5,6 +5,7 @@ param (
|
||||
[switch]$draftonly = $false,
|
||||
[switch]$buildonly = $false
|
||||
)
|
||||
# DEV: To build Electron packages for all platforms and NWJS for XP and Vista in a single release, use, e.g., "v1.3.0E+N" (Electron + NWJS)
|
||||
# DEV: To build new icons, use
|
||||
# electron-icon-builder --input=C:\Users\geoff\Source\Repos\kiwix-js-windows\bld\icon.png --output=./bld/
|
||||
# then move icons in png into /bld/icons/
|
||||
@ -235,11 +236,13 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') {
|
||||
$nwjs_archives = dir $nwjs_archives_path
|
||||
if ($nwjs_archives.count -eq 2) {
|
||||
"NWJS packages were correclty built."
|
||||
$found = $true
|
||||
} else {
|
||||
"Oh no! The NWJS package build failed."
|
||||
}
|
||||
} else {
|
||||
"NWJS packages found."
|
||||
$found = $true
|
||||
}
|
||||
}
|
||||
$ReleaseBundle = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user