Skip to content

Commit 04cd32c

Browse files
committed
Update installer script for Linux
1 parent 249af52 commit 04cd32c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

make_openbazaar.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
##
1111

1212

13-
ELECTRONVER=0.37.5
13+
ELECTRONVER=0.37.7
1414
NODEJSVER=5.1.1
1515
PYTHONVER=2.7.11
1616
UPXVER=391
@@ -348,7 +348,7 @@ case $OS in win32*)
348348

349349
echo "Installing npm packages for installer"
350350
sudo apt-get install npm python-pip python-virtualenv python-dev libffi-dev
351-
npm install electron-packager
351+
npm install electron-packager@6.0.2
352352

353353
echo "Installing npm packages for the Client"
354354
cd OpenBazaar-Client
@@ -364,6 +364,7 @@ case $OS in win32*)
364364
. env/bin/activate
365365
pip install -r requirements.txt
366366
pip install pyinstaller==3.1
367+
pip install cryptography
367368
pyinstaller -D -F -n openbazaard ../openbazaard.linux.spec
368369

369370
echo "Copy openbazaard to build folder"
@@ -378,11 +379,11 @@ case $OS in win32*)
378379

379380
cp -rf build-$OS/OpenBazaar-Server temp-$OS/openbazaar-linux-ia32/resources
380381

381-
npm install -g electron-packager
382+
sudo npm install -g electron-packager@6.0.2
382383
#npm install -g grunt-cli
383384
#npm install -g grunt-electron-installer --save-dev
384385
#npm install -g grunt-electron-installer-debian --save-dev
385-
npm install -g electron-installer-debian
386+
sudo npm install -g electron-installer-debian@0.1.1
386387

387388
electron-installer-debian --config linux/config_ia32.json
388389

@@ -435,6 +436,7 @@ case $OS in win32*)
435436
. env/bin/activate
436437
pip install -r requirements.txt
437438
pip install pyinstaller==3.1
439+
pip install cryptography
438440
pyinstaller -D -F -n openbazaard ../openbazaard.linux.spec
439441

440442
echo "Copy openbazaard to build folder"
@@ -449,11 +451,11 @@ case $OS in win32*)
449451

450452
cp -rf build-$OS/OpenBazaar-Server temp-$OS/openbazaar-linux-x64/resources
451453

452-
npm install -g electron-packager
454+
sudo npm install -g electron-packager@6.0.2
453455
#npm install -g grunt-cli
454456
#npm install -g grunt-electron-installer --save-dev
455457
#npm install -g grunt-electron-installer-debian --save-dev
456-
npm install -g electron-installer-debian
458+
sudo npm install -g electron-installer-debian@0.1.1
457459

458460
electron-installer-debian --config linux/config_amd64.json
459461

0 commit comments

Comments
 (0)