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

This commit is contained in:
theolivenbaum
2021-11-10 07:57:22 +01:00
parent 54c86d9e2f
commit be1182d302
2 changed files with 7 additions and 6 deletions

View File

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

View File

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