Skip to content

Commit 559473f

Browse files
committed
electron-bin: Set executable version to 1.0.0
1 parent d861bd3 commit 559473f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

electron-bin/generate-windows.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ const run = async (arch) => {
5353
console.log('Running rcedit');
5454
const executablePath = path.join(extractedPath, 'electron.exe');
5555
await rcedit(executablePath, {
56-
icon: newIconPath
56+
icon: newIconPath,
57+
// Replace Electron's version with something generic
58+
'version-string': '1.0.0',
59+
'file-version': '1.0.0',
60+
'product-version': '1.0.0'
5761
});
5862

5963
console.log('Compressing');

0 commit comments

Comments
 (0)