SEARCH-197

- Removed the post script for installing lz4
This commit is contained in:
Keerthi Niranjan 2017-11-09 20:00:11 +05:30
parent 785e618e02
commit 3e3bcec600
2 changed files with 1 additions and 9 deletions

View File

@ -4,7 +4,6 @@
tempFilePath='/tmp/sym_settings.txt'
installPath="$2"
configPath="/Symphony.app/Contents/config/Symphony.config"
lz4Path="/Applications/Symphony.app/Contents/library/lz4-mac"
newPath=$installPath$configPath
## Get Symphony Settings from the temp file ##
@ -22,13 +21,6 @@ sed -i "" -E "s#\"launchOnStartup\" ?: ?([Tt][Rr][Uu][Ee]|[Ff][Aa][Ll][Ss][Ee])#
## Remove the temp settings file created ##
rm -f $tempFilePath
## Installing the lz4 compression algorithm.
cd $lz4Path;
sudo make
echo "lz4 Make success!"
sudo make install
echo "lz4 Install Success!"
## For launching symphony with sandbox enabled, create a shell script that is used as the launch point for the app
EXEC_PATH=$installPath/Symphony.app/Contents/MacOS
exec $EXEC_PATH/Symphony --install $newPath $launch_on_startup

View File

@ -14,7 +14,7 @@ const libraryFolderPath = isDevEnv ? path.join(__dirname, '..', '..', 'library')
const winArchPath = process.arch === 'ia32' ? 'lz4-win-x86.exe' : 'lz4-win-x64.exe';
const productionPath = path.join(execPath, libraryFolderPath, winArchPath);
const devPath = path.join(__dirname, '..', '..', 'library', winArchPath);
const macLibraryPath = path.join(execPath, '..', 'library');
const macLibraryPath = isDevEnv ? path.join(__dirname, '..', '..', 'library') : path.join(execPath, '..', 'library');
const lz4Path = isDevEnv ? devPath : productionPath;
/**