Skip to content

Commit

Permalink
Merge pull request #579 from tub5/bug/578
Browse files Browse the repository at this point in the history
Upgrade to use Electron 12.0.12
  • Loading branch information
GregorBiswanger committed Jul 1, 2021
2 parents fdd643b + 78d9d60 commit 305544a
Show file tree
Hide file tree
Showing 4 changed files with 1,792 additions and 11 deletions.
4 changes: 2 additions & 2 deletions ElectronNET.API/Entities/WebPreferences.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ public class WebPreferences
/// 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.
Expand Down
2 changes: 1 addition & 1 deletion ElectronNET.CLI/Commands/BuildCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public Task<bool> ExecuteAsync()
: $"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");
Expand Down

0 comments on commit 305544a

Please sign in to comment.