update to electron 16.0.4

This commit is contained in:
theolivenbaum
2021-12-03 09:16:44 +01:00
parent 1b7f722f31
commit 2d940dbeee
4 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
variables:
PackageVersion: 16.0.2.$(Build.BuildId)
PackageVersion: 16.0.4.$(Build.BuildId)
projectAPI: './ElectronNET.API/ElectronNET.API.csproj'
projectCLI: './ElectronNET.CLI/ElectronNET.CLI.csproj'

View File

@@ -35,6 +35,8 @@ Full example for a 32bit debug build with electron prune: build /target custom w
_args = args;
}
private const string _defaultElectronVersion = "16.0.4";
private const string _paramTarget = "target";
private const string _paramDotNetConfig = "dotnet-configuration";
private const string _paramElectronArch = "electron-arch";
@@ -179,8 +181,7 @@ Full example for a 32bit debug build with electron prune: build /target custom w
electronArch = parser.Arguments[_paramElectronArch][0];
}
string electronVersion = "16.0.2";
var electronVersion = _defaultElectronVersion;
if (parser.Arguments.ContainsKey(_paramElectronVersion))
{
electronVersion = parser.Arguments[_paramElectronVersion][0];

View File

@@ -71,9 +71,9 @@
}
},
"@types/node": {
"version": "16.11.10",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.10.tgz",
"integrity": "sha512-3aRnHa1KlOEEhJ6+CvyHKK5vE9BcLGjtUpwvqYLRvYNQKMfabu3BwfJaA/SLW8dxe28LsNDjtHwePTuzn3gmOA==",
"version": "16.11.11",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.11.tgz",
"integrity": "sha512-KB0sixD67CeecHC33MYn+eYARkqTheIRNuu97y2XMjR7Wu3XibO1vaY6VBV6O/a89SPI81cEUIYT87UqUWlZNw==",
"dev": true
},
"@types/semver": {
@@ -390,9 +390,9 @@
"dev": true
},
"electron": {
"version": "16.0.2",
"resolved": "https://registry.npmjs.org/electron/-/electron-16.0.2.tgz",
"integrity": "sha512-kT746yVMztrP4BbT3nrFNcUcfgFu2yelUw6TWBVTy0pju+fBISaqcvoiMrq+8U0vRpoXSu2MJYygOf4T0Det7g==",
"version": "16.0.4",
"resolved": "https://registry.npmjs.org/electron/-/electron-16.0.4.tgz",
"integrity": "sha512-IptwmowvMP1SFOmZLh6rrURwfnOxbDBXBRBcaOdfBM5I+B9mgtdNwzNC3ymFFNzEkZUwdOyg9fu3iyjAAQIQgw==",
"dev": true,
"requires": {
"@electron/get": "^1.13.0",

View File

@@ -19,8 +19,8 @@
"socket.io": "^2.4.0"
},
"devDependencies": {
"@types/node": "^16.11.8",
"electron": "^16.0.2",
"@types/node": "^16.11.11",
"electron": "^16.0.4",
"tslint": "^6.1.3",
"typescript": "^4.5.2"
}