Skip to content

Commit c6044a3

Browse files
committed
fix: update nsis to 3.0.1
Closes #850
1 parent d815b60 commit c6044a3

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

docs/Options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Windows specific build options.
273273
| Name | Description
274274
| --- | ---
275275
| target | <a name="WinBuildOptions-target"></a><p>Target package type: list of <code>nsis</code>, <code>appx</code>, <code>squirrel</code>, <code>7z</code>, <code>zip</code>, <code>tar.xz</code>, <code>tar.lz</code>, <code>tar.gz</code>, <code>tar.bz2</code>, <code>dir</code>. Defaults to <code>nsis</code>.</p> <p>AppX package can be built only on Windows 10.</p>
276-
| signingHashAlgorithms | <a name="WinBuildOptions-signingHashAlgorithms"></a><p>Array of signing algorithms used. Defaults to <code>['sha1', 'sha256']</code></p> <p>Fo AppX <code>sha256</code> is always used.</p>
276+
| signingHashAlgorithms | <a name="WinBuildOptions-signingHashAlgorithms"></a><p>Array of signing algorithms used. Defaults to <code>['sha1', 'sha256']</code></p> <p>For AppX <code>sha256</code> is always used.</p>
277277
| icon | <a name="WinBuildOptions-icon"></a>The path to application icon. Defaults to `build/icon.ico` (consider using this convention instead of complicating your configuration).
278278
| legalTrademarks | <a name="WinBuildOptions-legalTrademarks"></a>The trademarks and registered trademarks.
279279
| certificateFile | <a name="WinBuildOptions-certificateFile"></a><p>The path to the *.pfx certificate you want to sign with. Please use it only if you cannot use env variable <code>CSC_LINK</code> (<code>WIN_CSC_LINK</code>) for some reason. Please see [Code Signing](https://github.com/electron-userland/electron-builder/wiki/Code-Signing).</p>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test": "node ./test/out/helpers/runTests.js",
2222
"test-linux": "docker run --rm -ti -v ${PWD}:/project -v ${PWD##*/}-node-modules:/project/node_modules -v ~/.electron:/root/.electron electronuserland/electron-builder:wine /test.sh",
2323
"pack-updater": "cd nsis-auto-updater && yarn --production && cd ..",
24-
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
24+
"semantic-release": "semantic-release pre && yarn pack -f /tmp/p.tar.gz && npm publish /tmp/p.tar.gz && semantic-release post",
2525
"//": "Update wiki if docs changed. Update only if functionalily are generally available (latest release, not next)",
2626
"update-wiki": "git subtree split -b wiki --prefix docs/ && git push -f wiki wiki:master",
2727
"whitespace": "whitespace 'src/**/*.ts'",

src/options/winOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface WinBuildOptions extends PlatformSpecificBuildOptions {
1616
/*
1717
Array of signing algorithms used. Defaults to `['sha1', 'sha256']`
1818
19-
Fo AppX `sha256` is always used.
19+
For AppX `sha256` is always used.
2020
*/
2121
readonly signingHashAlgorithms?: Array<string> | null
2222

src/targets/nsis.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import { safeDump } from "js-yaml"
1515
import { createHash } from "crypto"
1616
import { Target } from "./targetFactory"
1717

18-
const NSIS_VERSION = "3.0.2"
18+
const NSIS_VERSION = "3.0.3"
1919
//noinspection SpellCheckingInspection
20-
const NSIS_SHA2 = "012c29d62e167ff74e858eeb929641dc2c9d7bfe7465e748648814660c61b419"
20+
const NSIS_SHA2 = "666271c2c5b4492b2bbe412ffb0262fe58e05117fccff8f7fa685e38564f33a4"
2121

2222
//noinspection SpellCheckingInspection
2323
const ELECTRON_BUILDER_NS_UUID = "50e065bc-3134-11e6-9bab-38c9862bdaf3"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"build": {
3-
"electronVersion": "1.4.5",
3+
"electronVersion": "1.4.12",
44
"category": "public.app-category.business"
55
}
66
}

test/fixtures/test-app-one/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Foo Bar <foo@example.com>",
99
"license": "MIT",
1010
"build": {
11-
"electronVersion": "1.4.5",
11+
"electronVersion": "1.4.12",
1212
"appId": "org.electron-builder.testApp",
1313
"iconUrl": "https://raw.githubusercontent.com/szwacz/electron-boilerplate/master/resources/windows/icon.ico",
1414
"compression": "store",

test/fixtures/test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"build": {
4-
"electronVersion": "1.4.5",
4+
"electronVersion": "1.4.12",
55
"appId": "org.electron-builder.testApp",
66
"category": "your.app.category.type",
77
"iconUrl": "https://raw.githubusercontent.com/szwacz/electron-boilerplate/master/resources/windows/icon.ico",

test/src/helpers/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ import { createHash } from "crypto"
55
// reuse to avoid stale data (maybe not removed correctly on test stop)
66
// use __dirname to allow run in parallel from different project clones
77
export const TEST_DIR = path.join(tmpdir(), `et-${createHash("md5").update(__dirname).digest("hex")}`)
8-
export const ELECTRON_VERSION = "1.4.5"
8+
export const ELECTRON_VERSION = "1.4.12"

0 commit comments

Comments
 (0)