Skip to content

Commit

Permalink
feat: Support download URL with version placeholder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Nolle committed Nov 21, 2016
1 parent ffd7029 commit 533b851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/targets/nsis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export default class NsisTarget extends TargetEx {
packager.dispatchArtifactCreated(installerPath, githubArtifactName)

if (this.options.downloadUrl != null) {
defines.DOWNLOAD_URL = this.options.downloadUrl;
defines.DOWNLOAD_URL = this.options.downloadUrl.replace("{{version}}", version);

if (this.options.downloadHost != null) {
defines.DOWNLOAD_HOST = this.options.downloadHost;
Expand Down

0 comments on commit 533b851

Please sign in to comment.