mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 04:06:27 -04:00
Update permalink
Former-commit-id: cebafcee4161c46cf6903731e638a067da2f7903 [formerly c77be72d84b790dfd7788876f12b78693725a4b0] [formerly fc9a9eee613775a4e2df26386105bc788f325a72] [formerly 7812f7579060ee30b169fe4194282ceed0775c36 [formerly f20699736de5d93840e9c3c02bc45a955015a98f [formerly 1429c0553c03833cac4848d8c7014615772b5517]]] Former-commit-id: 3e3c8cbc7075238f93dc9cd2f6e729fa987fef98 [formerly 96ea04c1b8940b8645b297cd05863c7fcfb739f0 [formerly 3c34fc16177f92c5bab9ff961aed47e8ece09744]] Former-commit-id: 5771ef2bb945cff617ecbe57cf6b7dced033c6e5 [formerly 354a7b1d4f27224d9c0a8e7c72338131cdd98a8e] Former-commit-id: 25d9b429e2a25f61a3c47d8f9cd116effb30ca42
This commit is contained in:
parent
2841a5b205
commit
c3b25b51bd
@ -4,17 +4,17 @@
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting to latest Kiwix JS Windows NWJS release</title>
|
||||
<meta http-equiv="refresh"
|
||||
content="2; URL=https://github.com/kiwix/kiwix-js-windows/releases/tag/v1.1.3N">
|
||||
content="2; URL=https://github.com/kiwix/kiwix-js-windows/releases/tag/v1.1.4N">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div style="max-width: 1240px; margin: 3em auto">
|
||||
<h1>Redirecting to latest Kiwix JS Windows NWJS release...</h1>
|
||||
<p>If your browser does not automatically redirect, please click on:</p>
|
||||
<p><a href="https://github.com/kiwix/kiwix-js-windows/releases/tag/v1.1.3N">
|
||||
<p><a href="https://github.com/kiwix/kiwix-js-windows/releases/tag/v1.1.4N">
|
||||
Kiwix JS Windows NWJS: releases
|
||||
</a>
|
||||
</p>
|
||||
<img style="margin-left: auto; margin-right: auto; width: 25%; display: block;" alt="Kiwix JS Logo" src="images/Kiwix_logo_v3_300_midnight_blue.png">
|
||||
<img style="margin-left: auto; margin-right: auto; width: 25%; display: block;" alt="Kiwix JS Logo" src="images/Kiwix_logo_v1.1.4N">
|
||||
</div>
|
||||
</body>
|
@ -103,9 +103,10 @@ if ($dryrun -or $release.assets_url -imatch '^https:') {
|
||||
$NWJSAssets = @()
|
||||
$NWJSAssets = {$NWJSAssets}.Invoke()
|
||||
foreach ($stub in $stubs) {
|
||||
$NWJSAsset = "$base_dir/kiwix-js-windows-$stub.zip"
|
||||
$NWJSAsset = "$base_dir/kiwix_js_windows-$stub.zip"
|
||||
$NWJSAssets.Add($NWJSAsset)
|
||||
if (-Not (Test-Path $NWJSAsset -PathType Leaf)) { $found = $false }
|
||||
if (-Not $found) { "Unable to locate $NWJSAsset..." }
|
||||
}
|
||||
if (-Not $found) {
|
||||
"WARNING: One or more NWJS build(s) could not be found."
|
||||
@ -138,7 +139,7 @@ if ($dryrun -or $release.assets_url -imatch '^https:') {
|
||||
if (-Not $dryrun) { "$AddAppPackage", "$cert_file" | Compress-Archive -DestinationPath $compressed_archive -Force }
|
||||
}
|
||||
# Check the compressed file exists
|
||||
if ($dryrun -or (Test-Path $compressed_archive -PathType leaf)) {
|
||||
if ($dryrun -or $found -or (Test-Path $compressed_archive -PathType leaf)) {
|
||||
"Compression successful`n"
|
||||
} else {
|
||||
"There was an error compressing assets."
|
||||
@ -197,7 +198,7 @@ if ($dryrun -or $release.assets_url -imatch '^https:') {
|
||||
if (-Not $dryrun) { Set-Content $permalinkFile $permalink }
|
||||
else { "`n[DRYRUN] would have written:`n$permalink`n" }
|
||||
"Cleaning up..."
|
||||
if (-Not $dryrun) { del $compressed_archive }
|
||||
if ((-Not $dryrun) -and $compressed_archive ) { del $compressed_archive }
|
||||
"`nDone."
|
||||
} else {
|
||||
"There was an error setting up the release!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user