Skip to content

Commit fdb8be4

Browse files
committed
Update electron version
1 parent e361367 commit fdb8be4

File tree

3 files changed

+41
-23
lines changed

3 files changed

+41
-23
lines changed

src/ElectronNET.CLI/Commands/BuildCommand.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ public Task<bool> ExecuteAsync()
110110
string tempBinPath = Path.Combine(tempPath, "bin");
111111

112112
Console.WriteLine($"Build ASP.NET Core App for {platformInfo.NetCorePublishRid} under {configuration}-Configuration...");
113-
113+
114114
var dotNetPublishFlags = GetDotNetPublishFlags(parser);
115115

116116
var command =
117117
$"dotnet publish -r {platformInfo.NetCorePublishRid} -c \"{configuration}\"{noRestore} --output \"{tempBinPath}\" {string.Join(' ', dotNetPublishFlags.Select(kvp => $"{kvp.Key}={kvp.Value}"))}";
118-
119-
// output the command
118+
119+
// output the command
120120
Console.ForegroundColor = ConsoleColor.Green;
121121
Console.WriteLine(command);
122122
Console.ResetColor();
@@ -205,7 +205,7 @@ public Task<bool> ExecuteAsync()
205205
: $"node build-helper.js {manifestFileName} {version}", tempPath);
206206

207207
Console.WriteLine($"Package Electron App for Platform {platformInfo.ElectronPackerPlatform}...");
208-
ProcessHelper.CmdExecute($"npx electron-builder --config=./bin/electron-builder.json --{platformInfo.ElectronPackerPlatform} --{electronArch} -c.electronVersion=23.2.0 {electronParams}", tempPath);
208+
ProcessHelper.CmdExecute($"npx electron-builder --config=./bin/electron-builder.json --{platformInfo.ElectronPackerPlatform} --{electronArch} -c.electronVersion=30.0.3 {electronParams}", tempPath);
209209

210210
Console.WriteLine("... done");
211211

@@ -260,4 +260,4 @@ private Dictionary<string, string> GetDotNetPublishFlags(SimpleCommandLineParser
260260
return dotNetPublishFlags;
261261
}
262262
}
263-
}
263+
}

src/ElectronNET.Host/package-lock.json

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

src/ElectronNET.Host/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"@types/node": "^18.15.5",
23-
"electron": "^23.2.0",
23+
"electron": "^30.0.3",
2424
"tslint": "^6.1.3",
2525
"typescript": "^5.0.2"
2626
}

0 commit comments

Comments
 (0)