File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11const env = require ( './env' )
22const config = require ( './electron-config.base.json' )
3- const package = require ( './package.json' )
43
54module . 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}
Original file line number Diff line number Diff line change 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" ,
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" ,
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" ,
You can’t perform that action at this time.
0 commit comments