Skip to content

Commit

Permalink
feat(nsis): NSIS Special Builds set NSIS_MAX_STRLEN flag
Browse files Browse the repository at this point in the history
Close #1267
  • Loading branch information
develar committed Feb 17, 2017
1 parent e531017 commit 498db5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Auto Update.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
See the [Publishing Artifacts](https://github.com/electron-userland/electron-builder/wiki/Publishing-Artifacts) section of the [Wiki](https://github.com/electron-userland/electron-builder/wiki) for more information on how to configure your CI environment for automated deployments.

Real project [example](https://github.com/develar/onshape-desktop-shell/blob/master/src/AppUpdater.ts).
A [complete example](https://github.com/iffy/electron-updater-example) showing how to use.

Simplified auto-update is not supported for Squirrel.Windows.

Expand Down
2 changes: 1 addition & 1 deletion packages/electron-builder/src/targets/nsis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { archive } from "./archive"

const ELECTRON_BUILDER_NS_UUID = "50e065bc-3134-11e6-9bab-38c9862bdaf3"

const nsisPathPromise = getBinFromBintray("nsis", "3.0.1.8", "d9429cc33d06198b48b939e51f48fc95b3b7ccd5584dd9fe3f3f4eacce9d8275")
const nsisPathPromise = getBinFromBintray("nsis", "3.0.1.10", "302a8adebf0b553f74cddd494154a586719ff9d4767e94d8a76547a9bb06200c")
const nsisResourcePathPromise = getBinFromBintray("nsis-resources", "3.0.0", "cde0e77b249e29d74250bf006aa355d3e02b32226e1c6431fb48facae41d8a7e")

const USE_NSIS_BUILT_IN_COMPRESSOR = false
Expand Down
2 changes: 1 addition & 1 deletion test/src/helpers/setVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function setPackageVersions(packages: Array<string>, packageData: Array<an
const packageJson = packageData[i]
const versionInfo = versions[i]
const latestVersion = versionInfo.next || versionInfo.latest
if (packageJson.version == latestVersion || semver.lt(latestVersion, packageJson.version)) {
if (latestVersion == null || packageJson.version == latestVersion || semver.lt(latestVersion, packageJson.version)) {
continue
}

Expand Down

0 comments on commit 498db5d

Please sign in to comment.