Skip to content

Commit d761fce

Browse files
committed
bump version, updated build script
1 parent c34241a commit d761fce

5 files changed

Lines changed: 15 additions & 20 deletions

File tree

apps/electron/package.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

apps/electron/yarn.lock

Lines changed: 0 additions & 4 deletions
This file was deleted.

apps/web/app/pages/about/about.component.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ export class AboutComponent implements OnInit {
1313
}
1414

1515
public get gameVersion() {
16-
return '1.6.4'
16+
const version = APP_CONFIG.version.split('-')[0]
17+
if (APP_CONFIG.isPTR) {
18+
return `Public Test Realm ${version}`
19+
}
20+
return '1.6.6'
1721
// return APP_CONFIG.version.split('-')[0]
1822
}
1923

electron-config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
const env = require('./env')
22
const config = require('./electron-config.base.json')
3-
const package = require('./package.json')
43

54
module.exports = {
65
...config,
7-
appId: env.NW_PTR ? `${package.name}-ptr` : package.name,
8-
productName: env.NW_PTR ? `${package.name}-ptr` : package.name,
96
files: [
107
...config.files,
118
`!dist/web/nw-data/${env.NW_PTR ? 'live' : 'ptr'}`,
12-
],
9+
]
1310
}

package.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
"main": "dist/electron/main.js",
77
"private": true,
88
"author": "Ginie",
9+
"homepage": "https://giniedp.github.io/nw-buddy",
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/giniedp/nw-buddy.git"
13+
},
914
"scripts": {
10-
"postinstall": "electron-builder install-app-deps",
1115
"dev": "npm-run-all -p dev:electron dev:web",
1216
"dev:web": "ng serve -c web -o",
1317
"dev:electron": "yarn electron:serve",
@@ -25,6 +29,9 @@
2529
"nw-extract": "ts-node ./tools/nw-extract.ts"
2630
},
2731
"dependencies": {
32+
33+
},
34+
"devDependencies": {
2835
"@angular/common": "14.1.2",
2936
"@angular/compiler": "14.1.2",
3037
"@angular/core": "14.1.2",
@@ -42,9 +49,7 @@
4249
"mithril": "2.2.2",
4350
"rxjs": "7.5.6",
4451
"tslib": "^2.4.0",
45-
"zone.js": "~0.11.7"
46-
},
47-
"devDependencies": {
52+
"zone.js": "~0.11.7",
4853
"@angular-builders/custom-webpack": "14.0.0",
4954
"@angular-devkit/build-angular": "14.1.2",
5055
"@angular-eslint/builder": "14.0.2",

0 commit comments

Comments
 (0)