diff --git a/ElectronNET.API/App.cs b/ElectronNET.API/App.cs index 7a66589..45e7b61 100644 --- a/ElectronNET.API/App.cs +++ b/ElectronNET.API/App.cs @@ -518,8 +518,6 @@ namespace ElectronNET.API /// stored under the userData directory.If you want to change this location, you /// have to override the userData path before the ready event of the app module is emitted. /// - /// - /// public void SetPath(string name, string path) { BridgeConnector.Socket.Emit("appSetPath", name, path); @@ -618,7 +616,6 @@ namespace ElectronNET.API /// Windows you can visit the list from the task bar, and on macOS you can visit it /// from dock menu. /// - /// public void AddRecentDocument(string path) { BridgeConnector.Socket.Emit("appAddRecentDocument", path); @@ -1213,7 +1210,6 @@ namespace ElectronNET.API /// launcher, Note: Unity launcher requires the existence of a.desktop file to /// work, for more information please read Desktop Environment Integration. /// - /// /// Whether the call succeeded. public async Task SetBadgeCountAsync(int count, CancellationToken cancellationToken = default(CancellationToken)) { diff --git a/ElectronNET.Host/main.js b/ElectronNET.Host/main.js index b3d8550..0cdedb2 100644 --- a/ElectronNET.Host/main.js +++ b/ElectronNET.Host/main.js @@ -78,7 +78,8 @@ function startAspCoreBackend(electronPort) { } const binFilePath = path.join(__dirname, 'bin', binaryFile); - apiProcess = process(binFilePath, parameters); + var options = { cwd: path.join(__dirname, 'bin') }; + apiProcess = process(binFilePath, parameters, options); apiProcess.stdout.on('data', (data) => { var text = data.toString(); diff --git a/ElectronNET.sln b/ElectronNET.sln index 9ca181a..eed5a6d 100644 --- a/ElectronNET.sln +++ b/ElectronNET.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 -VisualStudioVersion = 15.0.27130.2024 +VisualStudioVersion = 15.0.27130.2027 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElectronNET.WebApp", "ElectronNET.WebApp\ElectronNET.WebApp.csproj", "{7C048379-401C-4345-B5E7-BE232DEA8157}" EndProject @@ -35,6 +35,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution buildAll.cmd = buildAll.cmd buildAll.sh = buildAll.sh buildReleaseNuGetPackages.cmd = buildReleaseNuGetPackages.cmd + Changelog.md = Changelog.md EndProjectSection EndProject Global