mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
SEARCH-197
- Removed the post script for installing lz4
This commit is contained in:
parent
785e618e02
commit
3e3bcec600
@ -4,7 +4,6 @@
|
|||||||
tempFilePath='/tmp/sym_settings.txt'
|
tempFilePath='/tmp/sym_settings.txt'
|
||||||
installPath="$2"
|
installPath="$2"
|
||||||
configPath="/Symphony.app/Contents/config/Symphony.config"
|
configPath="/Symphony.app/Contents/config/Symphony.config"
|
||||||
lz4Path="/Applications/Symphony.app/Contents/library/lz4-mac"
|
|
||||||
newPath=$installPath$configPath
|
newPath=$installPath$configPath
|
||||||
|
|
||||||
## Get Symphony Settings from the temp file ##
|
## 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 ##
|
## Remove the temp settings file created ##
|
||||||
rm -f $tempFilePath
|
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
|
## 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_PATH=$installPath/Symphony.app/Contents/MacOS
|
||||||
exec $EXEC_PATH/Symphony --install $newPath $launch_on_startup
|
exec $EXEC_PATH/Symphony --install $newPath $launch_on_startup
|
||||||
|
@ -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 winArchPath = process.arch === 'ia32' ? 'lz4-win-x86.exe' : 'lz4-win-x64.exe';
|
||||||
const productionPath = path.join(execPath, libraryFolderPath, winArchPath);
|
const productionPath = path.join(execPath, libraryFolderPath, winArchPath);
|
||||||
const devPath = path.join(__dirname, '..', '..', 'library', 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;
|
const lz4Path = isDevEnv ? devPath : productionPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user