mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-21 22:45:20 +00:00
move .NET bin output to under Helpers folder to be compliant with macOS bundle formt
This commit is contained in:
@@ -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": [ "**/*" ]
|
||||
},
|
||||
"**/*"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user