mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Moved library to a folder
This commit is contained in:
parent
e80e791636
commit
3db7929d52
@ -27,8 +27,8 @@ const MINIMUM_DATE = '0000000000000';
|
||||
const MAXIMUM_DATE = '9999999999999';
|
||||
const INDEX_VERSION = 'v1';
|
||||
|
||||
const winArchPath = process.arch === 'ia32' ? 'indexvalidator-x86.exe' : 'indexvalidator-x64.exe';
|
||||
const rootPath = isMac ? 'indexvalidator.exec' : winArchPath;
|
||||
const winArchPath = process.arch === 'ia32' ? 'library/indexvalidator-x86.exe' : 'library/indexvalidator-x64.exe';
|
||||
const rootPath = isMac ? 'library/indexvalidator.exec' : winArchPath;
|
||||
const productionPath = path.join(execPath, isMac ? '..' : '', rootPath);
|
||||
const devPath = path.join(__dirname, '..', '..', rootPath);
|
||||
const libraryPath = isDevEnv ? devPath : productionPath;
|
||||
|
@ -14,8 +14,8 @@ const symLucyIndexerPtr = ref.refType(symLucyIndexer);
|
||||
|
||||
const execPath = path.dirname(app.getPath('exe'));
|
||||
|
||||
const winArchPath = process.arch === 'ia32' ? 'libsymphonysearch-x86.dll' : 'libsymphonysearch-x64.dll';
|
||||
const rootPath = isMac ? 'libsymphonysearch.dylib' : winArchPath;
|
||||
const winArchPath = process.arch === 'ia32' ? 'library/libsymphonysearch-x86.dll' : 'library/libsymphonysearch-x64.dll';
|
||||
const rootPath = isMac ? 'library/libsymphonysearch.dylib' : winArchPath;
|
||||
const productionPath = path.join(execPath, isMac ? '..' : '', rootPath);
|
||||
const devPath = path.join(__dirname, '..', '..', rootPath);
|
||||
const libraryPath = isDevEnv ? devPath : productionPath;
|
||||
|
@ -34,9 +34,8 @@
|
||||
"!tests/*"
|
||||
],
|
||||
"extraFiles": ["config/Symphony.config",
|
||||
"msgsjson",
|
||||
"libsymphonysearch.dylib",
|
||||
"indexvalidator.exec"],
|
||||
"library/libsymphonysearch.dylib",
|
||||
"library/indexvalidator.exec"],
|
||||
"appId": "symphony-electron-desktop",
|
||||
"mac": {
|
||||
"target": "dmg",
|
||||
|
Loading…
Reference in New Issue
Block a user