Skip to content

Commit df3148c

Browse files
committed
Updated name and logos
1 parent c0acb73 commit df3148c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+215
-193
lines changed

.DS_Store

10 KB
Binary file not shown.

MANIFEST.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
include LICENCE RELEASE-NOTES AUTHORS
22
include README.rst
3-
include electrumg.conf.sample
4-
include electrumg.desktop
3+
include electrumbth.conf.sample
4+
include electrumbth.desktop
55
include *.py
6-
include electrumg
6+
include electrumbth
77
include contrib/requirements/requirements.txt
88
include contrib/requirements/requirements-hw.txt
99
recursive-include lib *.py

contrib/build-osx/make_osx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Parameterize
44
PYTHON_VERSION=3.6.4
5-
BUILDDIR=/tmp/electrumg-build
6-
PACKAGE=ElectrumG
5+
BUILDDIR=/tmp/electrumbth-build
6+
PACKAGE=ElectrumBTH
77
GIT_REPO=https://github.com/BTHPOS/electrum
88

99
. $(dirname "$0")/base.sh
@@ -79,4 +79,4 @@ info "pyinstaller --noconfirm --ascii --clean --name $VERSION contrib/build-osx/
7979
pyinstaller --noconfirm --ascii --clean --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary"
8080

8181
info "Creating .DMG"
82-
hdiutil create -fs HFS+ -volname $PACKAGE -srcfolder dist/$PACKAGE.app dist/electrumg-$VERSION.dmg || fail "Could not create .DMG"
82+
hdiutil create -fs HFS+ -volname $PACKAGE -srcfolder dist/$PACKAGE.app dist/electrumbth-$VERSION.dmg || fail "Could not create .DMG"

contrib/build-osx/osx.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ from PyInstaller.utils.hooks import collect_data_files, collect_submodules, coll
55
import sys
66
import os
77

8-
PACKAGE='ElectrumG'
8+
PACKAGE='ElectrumBTH'
99
PYPKG='electrum'
10-
MAIN_SCRIPT='electrumg'
11-
ICONS_FILE='electrumg.icns'
10+
MAIN_SCRIPT='electrumbth'
11+
ICONS_FILE='electrumbth.icns'
1212

1313
for i, x in enumerate(sys.argv):
1414
if x == '--name':

contrib/build-osx/package.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ genisoimage=genisoimage-$cdrkit_version
99

1010
libdmg_url=https://github.com/theuni/libdmg-hfsplus
1111

12-
tmp_path=/tmp/electrumg-macos
12+
tmp_path=/tmp/electrumbth-macos
1313

1414
export LD_PRELOAD=$(locate libfaketime.so.1)
1515
export FAKETIME="2000-01-22 00:00:00"
@@ -18,7 +18,7 @@ export PATH=$PATH:~/bin
1818
. $(dirname "$0")/base.sh
1919

2020
if [ -z "$1" ]; then
21-
echo "Usage: $0 ElectrumG.app"
21+
echo "Usage: $0 ElectrumBTH.app"
2222
exit -127
2323
fi
2424

@@ -74,16 +74,16 @@ ${genisoimage} \
7474
-D \
7575
-l \
7676
-probe \
77-
-V "ElectrumG" \
77+
-V "ElectrumBTH" \
7878
-no-pad \
7979
-r \
8080
-dir-mode 0755 \
8181
-apple \
82-
-o ElectrumG_uncompressed.dmg \
82+
-o ElectrumBTH_uncompressed.dmg \
8383
${tmp_path}/image || fail "Unable to create uncompressed dmg"
8484

85-
dmg dmg ElectrumG_uncompressed.dmg electrumg-$VERSION.dmg || fail "Unable to create compressed dmg"
86-
rm ElectrumG_uncompressed.dmg
85+
dmg dmg ElectrumBTH_uncompressed.dmg electrumbth-$VERSION.dmg || fail "Unable to create compressed dmg"
86+
rm ElectrumBTH_uncompressed.dmg
8787

8888
echo "Done."
89-
md5sum electrumg-$VERSION.dmg
89+
md5sum electrumbth-$VERSION.dmg

contrib/build-wine/build-electrum-git.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
NAME_ROOT=electrumg
3+
NAME_ROOT=electrumbth
44
PYTHON_VERSION=3.5.4
55

66
# These settings probably don't need any change
@@ -49,18 +49,18 @@ echo "Last commit: $VERSION"
4949
find -exec touch -d '2000-11-11T11:11:11+00:00' {} +
5050
popd
5151

52-
rm -rf $WINEPREFIX/drive_c/electrumg
53-
cp -r electrum $WINEPREFIX/drive_c/electrumg
52+
rm -rf $WINEPREFIX/drive_c/electrumbth
53+
cp -r electrum $WINEPREFIX/drive_c/electrumbth
5454
cp electrum/LICENCE .
55-
cp -r electrum-locale/locale $WINEPREFIX/drive_c/electrumg/lib/
56-
cp electrum-icons/icons_rc.py $WINEPREFIX/drive_c/electrumg/gui/qt/
55+
cp -r electrum-locale/locale $WINEPREFIX/drive_c/electrumbth/lib/
56+
cp electrum-icons/icons_rc.py $WINEPREFIX/drive_c/electrumbth/gui/qt/
5757

5858
# Install frozen dependencies
5959
$PYTHON -m pip install -r ../../deterministic-build/requirements.txt
6060

6161
$PYTHON -m pip install -r ../../deterministic-build/requirements-hw.txt
6262

63-
pushd $WINEPREFIX/drive_c/electrumg
63+
pushd $WINEPREFIX/drive_c/electrumbth
6464
$PYTHON setup.py install
6565
popd
6666

@@ -81,7 +81,7 @@ popd
8181
wine "$WINEPREFIX/drive_c/Program Files (x86)/NSIS/makensis.exe" /DPRODUCT_VERSION=$VERSION electrum.nsi
8282

8383
cd dist
84-
mv electrumg-setup.exe $NAME_ROOT-$VERSION-setup.exe
84+
mv electrumbth-setup.exe $NAME_ROOT-$VERSION-setup.exe
8585
cd ..
8686

8787
echo "Done."

contrib/build-wine/deterministic.spec

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ else:
1313
PYTHON_VERSION = '3.5.4'
1414
PYHOME = 'c:/python' + PYTHON_VERSION
1515

16-
home = 'C:\\electrumg\\'
16+
home = 'C:\\electrumbth\\'
1717

1818
# see https://github.com/pyinstaller/pyinstaller/issues/2005
1919
hiddenimports = []
@@ -44,7 +44,7 @@ datas += collect_data_files('btchip')
4444
datas += collect_data_files('keepkeylib')
4545

4646
# We don't put these files in to actually include them in the script but to make the Analysis method scan them for imports
47-
a = Analysis([home+'electrumg',
47+
a = Analysis([home+'electrumbth',
4848
home+'gui/qt/main_window.py',
4949
home+'gui/text.py',
5050
home+'lib/util.py',
@@ -86,11 +86,11 @@ exe_standalone = EXE(
8686
a.scripts,
8787
a.binaries,
8888
a.datas,
89-
name=os.path.join('build\\pyi.win32\\electrumg', cmdline_name + ".exe"),
89+
name=os.path.join('build\\pyi.win32\\electrumbth', cmdline_name + ".exe"),
9090
debug=False,
9191
strip=None,
9292
upx=False,
93-
icon=home+'icons/electrumg.ico',
93+
icon=home+'icons/electrumbth.ico',
9494
console=False)
9595
# console=True makes an annoying black box pop up, but it does make Electrum output command line commands, with this turned off no output will be given but commands can still be used
9696

@@ -99,11 +99,11 @@ exe_portable = EXE(
9999
a.scripts,
100100
a.binaries,
101101
a.datas + [ ('is_portable', 'README.md', 'DATA' ) ],
102-
name=os.path.join('build\\pyi.win32\\electrumg', cmdline_name + "-portable.exe"),
102+
name=os.path.join('build\\pyi.win32\\electrumbth', cmdline_name + "-portable.exe"),
103103
debug=False,
104104
strip=None,
105105
upx=False,
106-
icon=home+'icons/electrumg.ico',
106+
icon=home+'icons/electrumbth.ico',
107107
console=False)
108108

109109
#####
@@ -113,11 +113,11 @@ exe_dependent = EXE(
113113
pyz,
114114
a.scripts,
115115
exclude_binaries=True,
116-
name=os.path.join('build\\pyi.win32\\electrumg', cmdline_name),
116+
name=os.path.join('build\\pyi.win32\\electrumbth', cmdline_name),
117117
debug=False,
118118
strip=None,
119119
upx=False,
120-
icon=home+'icons/electrumg.ico',
120+
icon=home+'icons/electrumbth.ico',
121121
console=False)
122122

123123
coll = COLLECT(
@@ -128,6 +128,6 @@ coll = COLLECT(
128128
strip=None,
129129
upx=True,
130130
debug=False,
131-
icon=home+'icons/electrumg.ico',
131+
icon=home+'icons/electrumbth.ico',
132132
console=False,
133-
name=os.path.join('dist', 'electrumg'))
133+
name=os.path.join('dist', 'electrumbth'))

contrib/build-wine/electrum.nsi

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;--------------------------------
77
;Variables
88

9-
!define PRODUCT_NAME "ElectrumG"
9+
!define PRODUCT_NAME "ElectrumBTH"
1010
!define PRODUCT_WEB_SITE "https://github.com/BTCGPU/electrum"
1111
!define PRODUCT_PUBLISHER "Bithereum Organization"
1212
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
@@ -16,7 +16,7 @@
1616

1717
;Name and file
1818
Name "${PRODUCT_NAME}"
19-
OutFile "dist/electrumg-setup.exe"
19+
OutFile "dist/electrumbth-setup.exe"
2020

2121
;Default installation folder
2222
InstallDir "$PROGRAMFILES\${PRODUCT_NAME}"
@@ -72,7 +72,7 @@
7272
!define MUI_ABORTWARNING
7373
!define MUI_ABORTWARNING_TEXT "Are you sure you wish to abort the installation of ${PRODUCT_NAME}?"
7474

75-
!define MUI_ICON "tmp\electrum\icons\electrumg.ico"
75+
!define MUI_ICON "tmp\electrum\icons\electrumbth.ico"
7676

7777
;--------------------------------
7878
;Pages
@@ -125,7 +125,7 @@ Function .onInit
125125
FunctionEnd
126126

127127
Function RunApplication
128-
ExecShell "" "$INSTDIR\electrumg-${PRODUCT_VERSION}.exe"
128+
ExecShell "" "$INSTDIR\electrumbth-${PRODUCT_VERSION}.exe"
129129
FunctionEnd
130130

131131
Section
@@ -138,8 +138,8 @@ Section
138138
Delete "$SMSTARTUP\${PRODUCT_NAME}.lnk"
139139

140140
;Files to pack into the installer
141-
File /r "dist\electrumg\*.*"
142-
File "..\..\icons\electrumg.ico"
141+
File /r "dist\electrumbth\*.*"
142+
File "..\..\icons\electrumbth.ico"
143143

144144
;Store installation folder
145145
WriteRegStr HKCU "Software\${PRODUCT_NAME}" "" $INSTDIR
@@ -150,36 +150,36 @@ Section
150150

151151
;Create desktop shortcut
152152
DetailPrint "Creating desktop shortcut..."
153-
CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\electrumg-${PRODUCT_VERSION}.exe" ""
153+
CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\electrumbth-${PRODUCT_VERSION}.exe" ""
154154

155155
;Create start-menu items
156156
DetailPrint "Creating start-menu items..."
157157
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
158158
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0
159-
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\electrumg-${PRODUCT_VERSION}.exe" "" "$INSTDIR\electrumg-${PRODUCT_VERSION}.exe" 0
160-
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} Testnet.lnk" "$INSTDIR\electrumg-${PRODUCT_VERSION}.exe" "--testnet" "$INSTDIR\electrumg-${PRODUCT_VERSION}.exe" 0
159+
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\electrumbth-${PRODUCT_VERSION}.exe" "" "$INSTDIR\electrumbth-${PRODUCT_VERSION}.exe" 0
160+
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} Testnet.lnk" "$INSTDIR\electrumbth-${PRODUCT_VERSION}.exe" "--testnet" "$INSTDIR\electrumbth-${PRODUCT_VERSION}.exe" 0
161161

162-
;Links bithereumnetwork: URI's to ElectrumG
162+
;Links bithereumnetwork: URI's to ElectrumBTH
163163
WriteRegStr HKCU "Software\Classes\bithereumnetwork" "" "URL:bithereumnetwork Protocol"
164164
WriteRegStr HKCU "Software\Classes\bithereumnetwork" "URL Protocol" ""
165-
WriteRegStr HKCU "Software\Classes\bithereumnetwork" "DefaultIcon" "$\"$INSTDIR\electrumg.ico, 0$\""
166-
WriteRegStr HKCU "Software\Classes\bithereumnetwork\shell\open\command" "" "$\"$INSTDIR\electrumg-${PRODUCT_VERSION}.exe$\" $\"%1$\""
165+
WriteRegStr HKCU "Software\Classes\bithereumnetwork" "DefaultIcon" "$\"$INSTDIR\electrumbth.ico, 0$\""
166+
WriteRegStr HKCU "Software\Classes\bithereumnetwork\shell\open\command" "" "$\"$INSTDIR\electrumbth-${PRODUCT_VERSION}.exe$\" $\"%1$\""
167167

168168
;Adds an uninstaller possibility to Windows Uninstall or change a program section
169169
WriteRegStr HKCU "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
170170
WriteRegStr HKCU "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\Uninstall.exe"
171171
WriteRegStr HKCU "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
172172
WriteRegStr HKCU "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
173173
WriteRegStr HKCU "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
174-
WriteRegStr HKCU "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\electrumg.ico"
174+
WriteRegStr HKCU "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\electrumbth.ico"
175175

176176
;Fixes Windows broken size estimates
177177
${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
178178
IntFmt $0 "0x%08X" $0
179179
WriteRegDWORD HKCU "${PRODUCT_UNINST_KEY}" "EstimatedSize" "$0"
180180

181181
${If} ${SectionIsSelected} ${SecStartup}
182-
CreateShortCut "$SMSTARTUP\${PRODUCT_NAME}.lnk" "$INSTDIR\electrumg-${PRODUCT_VERSION}.exe" ""
182+
CreateShortCut "$SMSTARTUP\${PRODUCT_NAME}.lnk" "$INSTDIR\electrumbth-${PRODUCT_VERSION}.exe" ""
183183
${EndIf}
184184
SectionEnd
185185

contrib/freeze_packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# Run this after a new release to update dependencies
33

4-
venv_dir=~/.electrumg-venv
4+
venv_dir=~/.electrumbth-venv
55
contrib=$(dirname "$0")
66

77
which virtualenv > /dev/null 2>&1 || { echo "Please install virtualenv" && exit 1; }

contrib/make_locale

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ os.system(cmd)
2727

2828
os.chdir('lib')
2929

30-
crowdin_identifier = 'electrumg'
31-
crowdin_file_name = 'files[electrumg-client/messages.pot]'
30+
crowdin_identifier = 'electrumbth'
31+
crowdin_file_name = 'files[electrumbth-client/messages.pot]'
3232
locale_file_name = 'locale/messages.pot'
3333
crowdin_api_key = None
3434

@@ -60,7 +60,7 @@ zfobj = zipfile.ZipFile(io.BytesIO(s))
6060

6161
print('Unzip translations')
6262
for name in zfobj.namelist():
63-
if not name.startswith('electrumg-client/locale'):
63+
if not name.startswith('electrumbth-client/locale'):
6464
continue
6565
if name.endswith('/'):
6666
if not os.path.exists(name[16:]):

0 commit comments

Comments
 (0)