From 5b4c0a430693aa965812e7b80ac4b5f0f38d90ec Mon Sep 17 00:00:00 2001 From: Keerthi Niranjan Date: Fri, 10 Nov 2017 16:56:36 +0530 Subject: [PATCH] SEARCH-197 - Added api config for windows --- installer/win/Symphony-x64.aip | 19 +++++++++++++++++-- js/compressionLib/index.js | 2 +- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/installer/win/Symphony-x64.aip b/installer/win/Symphony-x64.aip index 291bcc4b..0b2cbb06 100644 --- a/installer/win/Symphony-x64.aip +++ b/installer/win/Symphony-x64.aip @@ -57,6 +57,7 @@ + @@ -125,18 +126,25 @@ + + + + + + + - + @@ -199,7 +207,7 @@ - + @@ -232,14 +240,20 @@ + + + + + + @@ -262,6 +276,7 @@ + diff --git a/js/compressionLib/index.js b/js/compressionLib/index.js index 0b7c5e29..b558983b 100644 --- a/js/compressionLib/index.js +++ b/js/compressionLib/index.js @@ -11,7 +11,7 @@ const execPath = path.dirname(app.getPath('exe')); // lz4 library path const libraryFolderPath = isDevEnv ? path.join(__dirname, '..', '..', 'library') : path.join(execPath, 'library'); const winArchPath = process.arch === 'ia32' ? 'lz4-win-x86.exe' : 'lz4-win-x64.exe'; -const productionPath = path.join(execPath, libraryFolderPath, winArchPath); +const productionPath = path.join(libraryFolderPath, winArchPath); const devPath = path.join(__dirname, '..', '..', 'library', winArchPath); const macLibraryPath = isDevEnv ? path.join(__dirname, '..', '..', 'library') : path.join(execPath, '..', 'library'); const lz4Path = isDevEnv ? devPath : productionPath;