https in build scripts
This commit is contained in:
parent
76da6916f3
commit
c413fea404
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# You probably need to update only this link
|
# You probably need to update only this link
|
||||||
ELECTRUM_GIT_URL=git://github.com/spesmilo/electrum.git
|
ELECTRUM_GIT_URL=https://github.com/spesmilo/electrum.git
|
||||||
BRANCH=master
|
BRANCH=master
|
||||||
NAME_ROOT=electrum
|
NAME_ROOT=electrum
|
||||||
PYTHON_VERSION=3.5.4
|
PYTHON_VERSION=3.5.4
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
TREZOR_GIT_URL=git://github.com/trezor/python-trezor.git
|
TREZOR_GIT_URL=https://github.com/trezor/python-trezor.git
|
||||||
KEEPKEY_GIT_URL=git://github.com/keepkey/python-keepkey.git
|
KEEPKEY_GIT_URL=https://github.com/keepkey/python-keepkey.git
|
||||||
BTCHIP_GIT_URL=git://github.com/LedgerHQ/btchip-python.git
|
BTCHIP_GIT_URL=https://github.com/LedgerHQ/btchip-python.git
|
||||||
|
|
||||||
BRANCH=master
|
BRANCH=master
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@ set -e
|
||||||
|
|
||||||
cd tmp
|
cd tmp
|
||||||
|
|
||||||
# downoad mingw-get-setup.exe
|
# download mingw-get-setup.exe
|
||||||
#wget http://downloads.sourceforge.net/project/mingw/Installer/mingw-get-setup.exe
|
#wget https://downloads.sourceforge.net/project/mingw/Installer/mingw-get-setup.exe
|
||||||
#wine mingw-get-setup.exe
|
#wine mingw-get-setup.exe
|
||||||
|
|
||||||
#echo "add c:\MinGW\bin to PATH using regedit" in HKEY_CURRENT_USER/Environment
|
#echo "add c:\MinGW\bin to PATH using regedit" in HKEY_CURRENT_USER/Environment
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Please update these carefully, some versions won't work under Wine
|
# Please update these carefully, some versions won't work under Wine
|
||||||
NSIS_URL=http://prdownloads.sourceforge.net/nsis/nsis-3.02.1-setup.exe?download
|
NSIS_URL=https://prdownloads.sourceforge.net/nsis/nsis-3.02.1-setup.exe?download
|
||||||
PYTHON_VERSION=3.5.4
|
PYTHON_VERSION=3.5.4
|
||||||
|
|
||||||
## These settings probably don't need change
|
## These settings probably don't need change
|
||||||
|
@ -49,7 +49,7 @@ $PYTHON -m pip install PyQt5
|
||||||
$PYTHON -m pip install pyinstaller==3.3
|
$PYTHON -m pip install pyinstaller==3.3
|
||||||
|
|
||||||
# Install ZBar
|
# Install ZBar
|
||||||
#wget -q -O zbar.exe "http://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10-setup.exe/download"
|
#wget -q -O zbar.exe "https://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10-setup.exe/download"
|
||||||
#wine zbar.exe
|
#wine zbar.exe
|
||||||
|
|
||||||
# install Cryptodome
|
# install Cryptodome
|
||||||
|
@ -75,7 +75,7 @@ wget -q -O nsis.exe "$NSIS_URL"
|
||||||
wine nsis.exe
|
wine nsis.exe
|
||||||
|
|
||||||
# Install UPX
|
# Install UPX
|
||||||
#wget -O upx.zip "http://upx.sourceforge.net/download/upx308w.zip"
|
#wget -O upx.zip "https://downloads.sourceforge.net/project/upx/upx/3.08/upx308w.zip"
|
||||||
#unzip -o upx.zip
|
#unzip -o upx.zip
|
||||||
#cp upx*/upx.exe .
|
#cp upx*/upx.exe .
|
||||||
|
|
||||||
|
|
|
@ -36,12 +36,12 @@ if crowdin_api_key:
|
||||||
requests.request('POST', url, files=files)
|
requests.request('POST', url, files=files)
|
||||||
# Build translations
|
# Build translations
|
||||||
print('Build translations')
|
print('Build translations')
|
||||||
response = requests.request('GET', 'http://api.crowdin.com/api/project/' + crowdin_identifier + '/export?key=' + crowdin_api_key).content
|
response = requests.request('GET', 'https://api.crowdin.com/api/project/' + crowdin_identifier + '/export?key=' + crowdin_api_key).content
|
||||||
print(response)
|
print(response)
|
||||||
|
|
||||||
# Download & unzip
|
# Download & unzip
|
||||||
print('Download translations')
|
print('Download translations')
|
||||||
s = requests.request('GET', 'http://crowdin.com/download/project/' + crowdin_identifier + '.zip').content
|
s = requests.request('GET', 'https://crowdin.com/download/project/' + crowdin_identifier + '.zip').content
|
||||||
zfobj = zipfile.ZipFile(io.BytesIO(s))
|
zfobj = zipfile.ZipFile(io.BytesIO(s))
|
||||||
|
|
||||||
print('Unzip translations')
|
print('Unzip translations')
|
||||||
|
|
Loading…
Reference in New Issue