Add ability to enable remote module in browser

The jump from Election 9x to 11x changed the default setting.  This exposes it so that user can re-enable it if needed.
This commit is contained in:
Dan
2021-01-20 11:49:50 -06:00
parent e94196504e
commit 8a0276daf9
2 changed files with 10 additions and 1 deletions

3
.gitignore vendored
View File

@@ -260,3 +260,6 @@ paket-files/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Mac Only settings file
.DS_Store

View File

@@ -1,4 +1,4 @@
using System.ComponentModel;
using System.ComponentModel;
namespace ElectronNET.API.Entities
{
@@ -206,5 +206,11 @@ namespace ElectronNET.API.Entities
/// </value>
[DefaultValue(false)]
public bool WebviewTag { get; set; } = false;
/// <summary>
/// Whether to enable the remote module. Defaults to false.
/// </summary>
[DefaultValue(false)]
public bool EnableRemoteModule { get; set; } = false;
}
}