|
|
|
@ -42,6 +42,7 @@ verify_hash() { |
|
|
|
return 0 |
|
|
|
return 0 |
|
|
|
else |
|
|
|
else |
|
|
|
echo "$file $actual_hash (unexpected hash)" >&2 |
|
|
|
echo "$file $actual_hash (unexpected hash)" >&2 |
|
|
|
|
|
|
|
rm "$file" |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
} |
|
|
|
} |
|
|
|
@ -54,7 +55,7 @@ download_if_not_exist() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Let's begin! |
|
|
|
# Let's begin! |
|
|
|
cd `dirname $0` |
|
|
|
here=$(dirname $(readlink -e $0)) |
|
|
|
set -e |
|
|
|
set -e |
|
|
|
|
|
|
|
|
|
|
|
# Clean up Wine environment |
|
|
|
# Clean up Wine environment |
|
|
|
@ -64,11 +65,9 @@ echo "done" |
|
|
|
|
|
|
|
|
|
|
|
wine 'wineboot' |
|
|
|
wine 'wineboot' |
|
|
|
|
|
|
|
|
|
|
|
echo "Cleaning tmp" |
|
|
|
mkdir -p /tmp/electrum-build |
|
|
|
mkdir -p tmp |
|
|
|
|
|
|
|
echo "done" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd tmp |
|
|
|
cd /tmp/electrum-build |
|
|
|
|
|
|
|
|
|
|
|
# Install Python |
|
|
|
# Install Python |
|
|
|
# note: you might need "sudo apt-get install dirmngr" for the following |
|
|
|
# note: you might need "sudo apt-get install dirmngr" for the following |
|
|
|
@ -94,7 +93,7 @@ $PYTHON -m pip install pywin32-ctypes==0.1.2 |
|
|
|
# install PySocks |
|
|
|
# install PySocks |
|
|
|
$PYTHON -m pip install win_inet_pton==1.0.1 |
|
|
|
$PYTHON -m pip install win_inet_pton==1.0.1 |
|
|
|
|
|
|
|
|
|
|
|
$PYTHON -m pip install -r ../../deterministic-build/requirements-binaries.txt |
|
|
|
$PYTHON -m pip install -r $here/../deterministic-build/requirements-binaries.txt |
|
|
|
|
|
|
|
|
|
|
|
# Install PyInstaller |
|
|
|
# Install PyInstaller |
|
|
|
$PYTHON -m pip install https://github.com/ecdsa/pyinstaller/archive/fix_2952.zip |
|
|
|
$PYTHON -m pip install https://github.com/ecdsa/pyinstaller/archive/fix_2952.zip |
|
|
|
|