Revert "move .NET bin output to under Helpers folder to be compliant with macOS bundle formt "

This reverts commit be1182d302.
This commit is contained in:
rafael-aero
2021-11-10 11:06:40 +01:00
parent be1182d302
commit 390135af8a
2 changed files with 6 additions and 7 deletions

View File

@@ -17,6 +17,11 @@
"output": "../../../bin/Desktop"
},
"extraResources": [
{
"from": "./bin",
"to": "bin",
"filter": [ "**/*" ]
}
],
"files": [
{
@@ -24,11 +29,6 @@
"to": "ElectronHostHook/node_modules",
"filter": [ "**/*" ]
},
{
"from": "./bin",
"to": "Helpers/bin",
"filter": [ "**/*" ]
},
"**/*"
]
}

View File

@@ -32,8 +32,7 @@ if (app.commandLine.hasSwitch('watch')) {
watchable = true;
};
let resourcesPath = __dirname.replace('app.asar', '');
let currentBinPath = path.join(resourcesPath, '..', 'Helpers', 'bin');
let currentBinPath = path.join(__dirname.replace('app.asar', ''), 'bin');
let manifestJsonFilePath = path.join(currentBinPath, manifestJsonFileName);
// if watch is enabled lets change the path