Merge pull request #579 from tub5/bug/578

Upgrade to use Electron 12.0.12
This commit is contained in:
Gregor Biswanger
2021-07-01 23:43:10 +02:00
committed by GitHub
4 changed files with 1792 additions and 11 deletions

View File

@@ -185,8 +185,8 @@ namespace ElectronNET.API.Entities
/// Context' entry in the combo box at the top of the Console tab. This option is
/// currently experimental and may change or be removed in future Electron releases.
/// </summary>
[DefaultValue(false)]
public bool ContextIsolation { get; set; }
[DefaultValue(true)]
public bool ContextIsolation { get; set; } = true;
/// <summary>
/// Whether to use native window.open(). Defaults to false. This option is currently experimental.

View File

@@ -198,7 +198,7 @@ namespace ElectronNET.CLI.Commands
: $"node build-helper.js {manifestFileName} {version}", tempPath);
Console.WriteLine($"Package Electron App for Platform {platformInfo.ElectronPackerPlatform}...");
ProcessHelper.CmdExecute($"npx electron-builder --config=./bin/electron-builder.json --{platformInfo.ElectronPackerPlatform} --{electronArch} -c.electronVersion=11.1.1 {electronParams}", tempPath);
ProcessHelper.CmdExecute($"npx electron-builder --config=./bin/electron-builder.json --{platformInfo.ElectronPackerPlatform} --{electronArch} -c.electronVersion=12.0.12 {electronParams}", tempPath);
Console.WriteLine("... done");

File diff suppressed because it is too large Load Diff

View File

@@ -21,7 +21,7 @@
"devDependencies": {
"@types/node": "^10.17.20",
"@types/socket.io": "^2.1.12",
"electron": "^11.1.1",
"electron": "^12.0.12",
"tslint": "^6.1.3",
"typescript": "^4.1.3"
}