Skip to content

Commit 9b5969f

Browse files
committed
Compiler: fix build
1 parent f05ffe1 commit 9b5969f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ _Some parts from this project was obtained from [R3ditor V2](https://github.com/
7878

7979
_Code Veronica database was created using [Evil Resource](https://evilresource.com/resident-evil-code-veronica/maps) as reference._
8080

81-
</sup>
81+
</sup>

compiler/build.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ function runCompiler(flavor, args){
111111
console.info(`=== Running compiler ===\nApp version: ${packageJson.version}\nNW.js version: ${nwVersion}\nFlavor: ${flavor}\nArgs: ${args}`);
112112
try {
113113

114+
// Create hash file again and prepare some consts
114115
module_fs.writeFileSync('hash.inc', '');
115116
const
116117
help = module_fs.readFileSync('help.txt', 'utf-8'),
@@ -128,8 +129,12 @@ function runCompiler(flavor, args){
128129
outDir: 'build',
129130
platform: 'win',
130131
cacheDir: 'cache',
132+
version: nwVersion,
133+
manifestUrl: 'https://nwjs.io/versions.json',
131134
app: {
132135
icon: 'App/img/icon.ico',
136+
productName: 'R3 Auto Map Gen.',
137+
productVersion: packageJson.version,
133138
fileVersion: `Ver. ${packageJson.version}, NW.js: ${nwVersion}`,
134139
legalCopyright: `2023, ${date.getFullYear()} - Juliana (TheMitoSan)`
135140
}

0 commit comments

Comments
 (0)