Skip to content

Commit fb8ca94

Browse files
committed
Upgrade to use Electron 12.0.12
Resolves #578
1 parent 876bb98 commit fb8ca94

File tree

3 files changed

+17
-23
lines changed

3 files changed

+17
-23
lines changed

ElectronNET.CLI/Commands/BuildCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public Task<bool> ExecuteAsync()
197197
ProcessHelper.CmdExecute($"node build-helper.js " + manifestFileName, tempPath);
198198

199199
Console.WriteLine($"Package Electron App for Platform {platformInfo.ElectronPackerPlatform}...");
200-
ProcessHelper.CmdExecute($"npx electron-builder --config=./bin/electron-builder.json --{platformInfo.ElectronPackerPlatform} --{electronArch} -c.electronVersion=11.1.1 {electronParams}", tempPath);
200+
ProcessHelper.CmdExecute($"npx electron-builder --config=./bin/electron-builder.json --{platformInfo.ElectronPackerPlatform} --{electronArch} -c.electronVersion=12.0.12 {electronParams}", tempPath);
201201

202202
Console.WriteLine("... done");
203203

ElectronNET.Host/package-lock.json

Lines changed: 15 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ElectronNET.Host/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"devDependencies": {
2222
"@types/node": "^10.17.20",
2323
"@types/socket.io": "^2.1.12",
24-
"electron": "^11.1.1",
24+
"electron": "^12.0.12",
2525
"tslint": "^6.1.3",
2626
"typescript": "^4.1.3"
2727
}

0 commit comments

Comments
 (0)