Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(BuildConfig): fix overwritten appId
Browse files Browse the repository at this point in the history
  • Loading branch information
evshiron committed Apr 28, 2017
1 parent 8104a95 commit cac669e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/project/package.json
Expand Up @@ -10,6 +10,7 @@
"author": "evshiron",
"license": "MIT",
"build": {
"appId": "io.github.evshiron.nwjs-builder-phoenix.project",
"nwVersion": "lts",
"targets": [
"zip",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/config/BuildConfig.ts
Expand Up @@ -54,7 +54,7 @@ export class BuildConfig {

this.output = normalize(this.output);

this.appId = `io.github.nwjs.${ pkg.name }`;
this.appId = this.appId ? this.appId : `io.github.nwjs.${ pkg.name }`;

this.win.versionStrings.ProductName = this.win.versionStrings.ProductName ? this.win.versionStrings.ProductName : pkg.name;
this.win.versionStrings.FileDescription = this.win.versionStrings.FileDescription ? this.win.versionStrings.FileDescription : pkg.description;
Expand Down

0 comments on commit cac669e

Please sign in to comment.