Skip to content

Commit a708ccf

Browse files
Merge pull request #101 from ElectronNET/better-cwd
#72
2 parents 65399c2 + 2e87bb3 commit a708ccf

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

ElectronNET.API/App.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,6 @@ public void Show()
518518
/// stored under the userData directory.If you want to change this location, you
519519
/// have to override the userData path before the ready event of the app module is emitted.
520520
/// </summary>
521-
/// <param name="name"></param>
522-
/// <param name="path"></param>
523521
public void SetPath(string name, string path)
524522
{
525523
BridgeConnector.Socket.Emit("appSetPath", name, path);
@@ -618,7 +616,6 @@ public void SetName(string name)
618616
/// Windows you can visit the list from the task bar, and on macOS you can visit it
619617
/// from dock menu.
620618
/// </summary>
621-
/// <param name="path"></param>
622619
public void AddRecentDocument(string path)
623620
{
624621
BridgeConnector.Socket.Emit("appAddRecentDocument", path);
@@ -1213,7 +1210,6 @@ public void SetAppUserModelId(string id)
12131210
/// launcher, Note: Unity launcher requires the existence of a.desktop file to
12141211
/// work, for more information please read Desktop Environment Integration.
12151212
/// </summary>
1216-
/// <param name="count"></param>
12171213
/// <returns>Whether the call succeeded.</returns>
12181214
public async Task<bool> SetBadgeCountAsync(int count, CancellationToken cancellationToken = default(CancellationToken))
12191215
{

ElectronNET.Host/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ function startAspCoreBackend(electronPort) {
7878
}
7979

8080
const binFilePath = path.join(__dirname, 'bin', binaryFile);
81-
apiProcess = process(binFilePath, parameters);
81+
var options = { cwd: path.join(__dirname, 'bin') };
82+
apiProcess = process(binFilePath, parameters, options);
8283

8384
apiProcess.stdout.on('data', (data) => {
8485
var text = data.toString();

ElectronNET.sln

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
4-
VisualStudioVersion = 15.0.27130.2024
4+
VisualStudioVersion = 15.0.27130.2027
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElectronNET.WebApp", "ElectronNET.WebApp\ElectronNET.WebApp.csproj", "{7C048379-401C-4345-B5E7-BE232DEA8157}"
77
EndProject
@@ -35,6 +35,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
3535
buildAll.cmd = buildAll.cmd
3636
buildAll.sh = buildAll.sh
3737
buildReleaseNuGetPackages.cmd = buildReleaseNuGetPackages.cmd
38+
Changelog.md = Changelog.md
3839
EndProjectSection
3940
EndProject
4041
Global

0 commit comments

Comments
 (0)