Browse Source

Rename to Zec Wallet (#117)

* Update linux name

* Rename strings

* Rename debian/linux packages

* Rename windows build/installer

* Mac rename

* Update icon

* Update windows icon

* update background

* Prevent deleting utxos and balances while updating
import_zecw
adityapk00 5 years ago
committed by GitHub
parent
commit
b1614caea0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .gitignore
  2. BIN
      res/icon.ico
  3. BIN
      res/logo.icns
  4. 255
      res/logo.svg
  5. 145
      res/logo2.svg
  6. BIN
      res/logobig.gif
  7. 20
      res/mkicns.sh
  8. 0
      res/resize.sh
  9. BIN
      res/zec_qt_wallet_de.qm
  10. 22
      res/zec_qt_wallet_de.ts
  11. BIN
      res/zec_qt_wallet_es.qm
  12. 36
      res/zec_qt_wallet_es.ts
  13. BIN
      res/zec_qt_wallet_fr.qm
  14. 40
      res/zec_qt_wallet_fr.ts
  15. BIN
      res/zec_qt_wallet_it.qm
  16. 34
      res/zec_qt_wallet_it.ts
  17. BIN
      res/zec_qt_wallet_pt.qm
  18. 36
      res/zec_qt_wallet_pt.ts
  19. 2739
      res/zecwallet.xpm
  20. 2
      src/about.ui
  21. 4
      src/connection.cpp
  22. 2
      src/connection.ui
  23. 2
      src/main.cpp
  24. 8
      src/mainwindow.cpp
  25. 2
      src/mainwindow.ui
  26. 2
      src/mobileappconnector.ui
  27. 27
      src/rpc.cpp
  28. 2
      src/rpc.h
  29. 4
      src/scripts/control
  30. 10
      src/scripts/desktopentry
  31. 19
      src/scripts/mkmacdmg.sh
  32. 53
      src/scripts/mkrelease.sh
  33. 8
      src/scripts/mkwininstaller.ps1
  34. 6
      src/scripts/zec-qt-wallet.wxs
  35. 2
      src/websockets.cpp
  36. 2
      zec-qt-wallet.pro

5
.gitignore

@ -12,17 +12,22 @@ src/ui_*.h
*.autosave
src/precompiled.h.cpp
.qmake.stash
zecwallet
zec-qt-wallet
zec-qt-wallet.app
ZecWallet.app
zec-qt-wallet-mingw*
zec-qt-wallet.vcxproj*
zecwallet.vcxproj*
zec-qt-wallet.sln
zec-qt-wallet.pro.user
Makefile
Makefile.*
qrc_application.cpp
zec-qt-wallet_plugin_import.cpp
zecwallet_plugin_import.cpp
zec-qt-wallet_resource*
zecwallet_resource*
workspace.code-workspace
*.zip
*.tar.gz

BIN
res/icon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 32 KiB

BIN
res/logo.icns

Binary file not shown.

255
res/logo.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

145
res/logo2.svg

@ -0,0 +1,145 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="7in"
height="7in"
viewBox="0 0 672.00001 672.00003"
version="1.1"
xml:space="preserve"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="svg947"
sodipodi:docname="logo2.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata953"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs951" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2493"
inkscape:window-height="1385"
id="namedview949"
showgrid="false"
inkscape:zoom="1.204"
inkscape:cx="69.774919"
inkscape:cy="327.00515"
inkscape:window-x="67"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="svg947"
units="in" />
<g
id="Layer1"
transform="matrix(0.36813642,0,0,0.36813642,312.34626,301.46667)">
<g
transform="matrix(21.7676,-1.67174,1.56756,20.411,-1459.09,-1317.23)"
id="g906">
<path
d="m 101.667,55.665 c 0,-4.644 -3.536,-8.415 -7.891,-8.415 H 34.391 c -4.355,0 -7.891,3.771 -7.891,8.415 v 32.67 c 0,4.644 3.536,8.415 7.891,8.415 h 59.385 c 4.355,0 7.891,-3.771 7.891,-8.415 z"
style="fill:#403c3c;stroke:#676767;stroke-width:1.55999994px"
id="path904"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(10.4324,-0.762793,0.788494,10.7839,-910.913,-519.817)"
id="g910">
<rect
x="30.333"
y="15.958"
width="123.333"
height="10.333"
style="fill:#989898"
id="rect908" />
</g>
<g
transform="matrix(10.4426,-0.607527,0.590589,10.1515,-857.477,-497.419)"
id="g914">
<rect
x="30.333"
y="15.958"
width="123.333"
height="10.333"
style="fill:#d4d4d4"
id="rect912" />
</g>
<g
transform="matrix(22.5859,0,0,20.3805,-1392.73,-1333.51)"
id="g918">
<path
d="m 101.667,55.665 c 0,-4.644 -3.403,-8.415 -7.594,-8.415 h -59.98 c -4.191,0 -7.593,3.771 -7.593,8.415 v 32.67 c 0,4.644 3.402,8.415 7.593,8.415 h 59.98 c 4.191,0 7.594,-3.771 7.594,-8.415 z"
style="fill:#545454;stroke:#676767;stroke-width:1.54999995px"
id="path916"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(22.0427,0,0,22.0427,-1356.84,-1529.77)"
id="g940">
<g
transform="matrix(0.0166278,0,0,0.0169216,38.2584,49.3588)"
id="g930">
<path
d="m 408.79,544.347 c -4.781,393.34 11.42,829.733 222.972,1280.253 233.27,496.77 562.438,768.91 880.738,902.9 400.43,-203.47 700.25,-512.61 875.74,-926.93 C 2565.08,1390.14 2623.25,986.361 2613.93,546.64 2401.04,668.826 2190.35,711.166 1980.91,665.398 1800.1,625.888 1619.67,480.693 1504.39,342.5 1342.48,544.925 1094.45,674.584 905.24,674.128 603.662,673.4 408.79,544.347 408.79,544.347 Z"
style="fill:#535050;stroke:#231f20;stroke-width:113.56999969px;stroke-linecap:butt;stroke-miterlimit:1.41420996"
id="path928"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(0.0156112,0,0,0.01624605,39.675272,50.611315)"
id="g934">
<path
d="m 395.114,579.927 c -4.781,393.341 25.096,794.153 236.648,1244.673 233.27,496.77 562.438,768.91 880.738,902.9 400.43,-203.47 677.91,-509.43 866.26,-919.86 157.91,-344.09 267.28,-776.03 257.97,-1215.749 -212.9,122.186 -446.38,119.275 -655.82,73.507 C 1800.1,625.888 1626.34,498.787 1511.05,360.594 1349.14,563.019 1067.1,686.858 877.887,686.402 576.309,685.674 395.114,579.927 395.114,579.927 Z"
style="fill:#f4b728"
id="path932"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(0.0863573,0,0,0.0863573,43.8769,56.212)"
id="g938">
<path
d="M 305.776,155.342 V 120.964 H 244.28 V 83.228 h -37.768 v 37.736 h -61.496 v 45.532 h 95.333 l -77.956,107.298 -17.377,22.075 v 34.377 h 61.496 v 37.616 h 4.529 v 0.153 h 28.709 v -0.153 h 4.53 v -37.616 h 61.496 V 284.714 H 210.443 L 288.4,177.416 Z"
style="fill:#231f20;fill-rule:nonzero"
id="path936"
inkscape:connector-curvature="0" />
</g>
</g>
</g><g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="Belt"
style="display:inline"
transform="translate(0,547.00007)"><g
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
transform="matrix(3.6074755,0,0,3.1676851,24.481313,-551.22181)"
id="g922">
<path
d="m 174.197,108.212 c 0,-3.207 -2.286,-5.81 -5.101,-5.81 h -31.213 c -2.816,0 -5.102,2.603 -5.102,5.81 v 13.64 c 0,3.206 2.286,5.809 5.102,5.809 h 31.213 c 2.815,0 5.101,-2.603 5.101,-5.809 z"
style="fill:#545454;stroke:#676767;stroke-width:5.17999983px"
id="path920"
inkscape:connector-curvature="0" />
</g><g
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
transform="matrix(4.2945691,0,0,4.3255294,-62.20745,-679.73088)"
id="g926">
<circle
cx="140.291"
cy="113.78"
r="5.006"
style="fill:#ffffff"
id="circle924" />
</g></g>
</svg>

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
res/logobig.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 15 KiB

20
res/mkicns.sh

@ -23,16 +23,16 @@ output_name=$3
set -e
mkdir $output_name.iconset
$inkscape -z -e "$PWD/$output_name.iconset/icon_16x16.png" -w 16 -h 16 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_16x16@2x.png" -w 32 -h 32 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_32x32.png" -w 32 -h 32 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_32x32@2x.png" -w 64 -h 64 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_128x128.png" -w 128 -h 128 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_128x128@2x.png" -w 256 -h 256 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_256x256.png" -w 256 -h 256 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_256x256@2x.png" -w 512 -h 512 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_512x512.png" -w 512 -h 512 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_512x512@2x.png" -w 1024 -h 1024 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_16x16.png" -w 16 -h 16 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_16x16@2x.png" -w 32 -h 32 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_32x32.png" -w 32 -h 32 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_32x32@2x.png" -w 64 -h 64 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_128x128.png" -w 128 -h 128 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_128x128@2x.png" -w 256 -h 256 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_256x256.png" -w 256 -h 256 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_256x256@2x.png" -w 512 -h 512 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_512x512.png" -w 512 -h 512 -y 0 "$PWD/$svg_file"
$inkscape -z -e "$PWD/$output_name.iconset/icon_512x512@2x.png" -w 1024 -h 1024 -y 0 "$PWD/$svg_file"
iconutil -c icns "$output_name.iconset"
rm -R "$output_name.iconset"

0
res/resize.sh

BIN
res/zec_qt_wallet_de.qm

Binary file not shown.

22
res/zec_qt_wallet_de.ts

@ -31,7 +31,7 @@
<name>ConnectionDialog</name>
<message>
<location filename="../src/connection.ui" line="17"/>
<source>zec-qt-wallet</source>
<source>ZecWallet</source>
<translation type="unfinished">YOUR_TRANSLATION_HERE</translation>
</message>
<message>
@ -44,7 +44,7 @@
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.ui" line="14"/>
<source>zec-qt-wallet</source>
<source>ZecWallet</source>
<translation type="unfinished">YOUR_TRANSLATION_HERE</translation>
</message>
<message>
@ -416,7 +416,7 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="524"/>
<source>Connection over Tor has been enabled. To use this feature, you need to restart zec-qt-wallet.</source>
<source>Connection over Tor has been enabled. To use this feature, you need to restart ZecWallet.</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -426,12 +426,12 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="533"/>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart zec-qt-wallet.</source>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart ZecWallet.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="575"/>
<source>Thanks for supporting zec-qt-wallet!</source>
<source>Thanks for supporting ZecWallet!</source>
<translation type="unfinished">YOUR_TRANSLATION_HERE</translation>
</message>
<message>
@ -441,7 +441,7 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
<source> to support zec-qt-wallet</source>
<source> to support ZecWallet</source>
<translation type="unfinished">YOUR_TRANSLATION_HERE</translation>
</message>
<message>
@ -750,7 +750,7 @@ doesn&apos;t look like a z-address</source>
</message>
<message>
<location filename="../src/mobileappconnector.ui" line="84"/>
<source>Allow connections over the internet via zec-qt-wallet wormhole</source>
<source>Allow connections over the internet via ZecWallet wormhole</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -812,9 +812,9 @@ doesn&apos;t look like a z-address</source>
</message>
<message>
<location filename="../src/connection.cpp" line="77"/>
<source>You have zcashd set to start as a daemon, which can cause problems with zec-qt-wallet
<source>You have zcashd set to start as a daemon, which can cause problems with ZecWallet
.Please remove the following line from your zcash.conf and restart zec-qt-wallet
.Please remove the following line from your zcash.conf and restart ZecWallet
daemon=1</source>
<translation type="unfinished">YOUR_TRANSLATION_HERE</translation>
</message>
@ -984,7 +984,7 @@ Would you like to visit the releases page?</source>
</message>
<message>
<location filename="../src/rpc.cpp" line="1096"/>
<source>Please wait for zec-qt-wallet to exit</source>
<source>Please wait for ZecWallet to exit</source>
<translation type="unfinished">YOUR_TRANSLATION_HERE</translation>
</message>
<message>
@ -1149,7 +1149,7 @@ You either have unconfirmed funds or the balance is too low for an automatic mig
</message>
<message>
<location filename="../src/websockets.cpp" line="345"/>
<source>Connected over the internet via zec-qt-wallet wormhole service</source>
<source>Connected over the internet via ZecWallet wormhole service</source>
<translation type="unfinished"></translation>
</message>
<message>

BIN
res/zec_qt_wallet_es.qm

Binary file not shown.

36
res/zec_qt_wallet_es.ts

@ -31,8 +31,8 @@
<name>ConnectionDialog</name>
<message>
<location filename="../src/connection.ui" line="17"/>
<source>zec-qt-wallet</source>
<translation>zec-qt-wallet</translation>
<source>ZecWallet</source>
<translation>ZecWallet</translation>
</message>
<message>
<location filename="../src/connection.ui" line="58"/>
@ -44,8 +44,8 @@
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.ui" line="14"/>
<source>zec-qt-wallet</source>
<translation>zec-qt-wallet</translation>
<source>ZecWallet</source>
<translation>ZecWallet</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="29"/>
@ -416,7 +416,7 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="524"/>
<source>Connection over Tor has been enabled. To use this feature, you need to restart zec-qt-wallet.</source>
<source>Connection over Tor has been enabled. To use this feature, you need to restart ZecWallet.</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -426,13 +426,13 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="533"/>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart zec-qt-wallet.</source>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart ZecWallet.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="575"/>
<source>Thanks for supporting zec-qt-wallet!</source>
<translation>Gracias por apoyar zec-qt-wallet!</translation>
<source>Thanks for supporting ZecWallet!</source>
<translation>Gracias por apoyar ZecWallet!</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
@ -441,8 +441,8 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
<source> to support zec-qt-wallet</source>
<translation> para apoyar zec-qt-wallet</translation>
<source> to support ZecWallet</source>
<translation> para apoyar ZecWallet</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="614"/>
@ -750,7 +750,7 @@ doesn&apos;t look like a z-address</source>
</message>
<message>
<location filename="../src/mobileappconnector.ui" line="84"/>
<source>Allow connections over the internet via zec-qt-wallet wormhole</source>
<source>Allow connections over the internet via ZecWallet wormhole</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -893,8 +893,8 @@ Would you like to visit the releases page?</source>
</message>
<message>
<location filename="../src/rpc.cpp" line="1096"/>
<source>Please wait for zec-qt-wallet to exit</source>
<translation>Por favor, espere que zec-qt-wallet salga</translation>
<source>Please wait for ZecWallet to exit</source>
<translation>Por favor, espere que ZecWallet salga</translation>
</message>
<message>
<location filename="../src/rpc.cpp" line="1097"/>
@ -1001,12 +1001,12 @@ Por favor, especificar el host/puerta y usario/contraseña en el menú Editar-&g
</message>
<message>
<location filename="../src/connection.cpp" line="77"/>
<source>You have zcashd set to start as a daemon, which can cause problems with zec-qt-wallet
<source>You have zcashd set to start as a daemon, which can cause problems with ZecWallet
.Please remove the following line from your zcash.conf and restart zec-qt-wallet
.Please remove the following line from your zcash.conf and restart ZecWallet
daemon=1</source>
<translation>Has configurado zcashd para ejecutar como demonio, lo que puede causar problemas con zec-qt-wallet.
Por favor, eliminar la siguente linea de zcashd.conf y reinicia zec-qt-wallet
<translation>Has configurado zcashd para ejecutar como demonio, lo que puede causar problemas con ZecWallet.
Por favor, eliminar la siguente linea de zcashd.conf y reinicia ZecWallet
daemon=1</translation>
</message>
<message>
@ -1165,7 +1165,7 @@ El saldo es insuficiente para una migración automática.
</message>
<message>
<location filename="../src/websockets.cpp" line="345"/>
<source>Connected over the internet via zec-qt-wallet wormhole service</source>
<source>Connected over the internet via ZecWallet wormhole service</source>
<translation type="unfinished"></translation>
</message>
<message>

BIN
res/zec_qt_wallet_fr.qm

Binary file not shown.

40
res/zec_qt_wallet_fr.ts

@ -31,8 +31,8 @@
<name>ConnectionDialog</name>
<message>
<location filename="../src/connection.ui" line="17"/>
<source>zec-qt-wallet</source>
<translation>zec-qt-wallet</translation>
<source>ZecWallet</source>
<translation>ZecWallet</translation>
</message>
<message>
<location filename="../src/connection.ui" line="58"/>
@ -44,8 +44,8 @@
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.ui" line="14"/>
<source>zec-qt-wallet</source>
<translation>zec-qt-wallet</translation>
<source>ZecWallet</source>
<translation>ZecWallet</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="29"/>
@ -421,8 +421,8 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="524"/>
<source>Connection over Tor has been enabled. To use this feature, you need to restart zec-qt-wallet.</source>
<translation>La connection via Tor est activée. Afin d&apos;utiliser cette fonctionnalité, veuillez redémarer zec-qt-wallet.</translation>
<source>Connection over Tor has been enabled. To use this feature, you need to restart ZecWallet.</source>
<translation>La connection via Tor est activée. Afin d&apos;utiliser cette fonctionnalité, veuillez redémarer ZecWallet.</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="532"/>
@ -431,13 +431,13 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="533"/>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart zec-qt-wallet.</source>
<translation>La connection via Tor a é désactivée. Afin de complètement se déconnecter de Tor, vous devez redémarrer zec-qt-wallet.</translation>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart ZecWallet.</source>
<translation>La connection via Tor a é désactivée. Afin de complètement se déconnecter de Tor, vous devez redémarrer ZecWallet.</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="575"/>
<source>Thanks for supporting zec-qt-wallet!</source>
<translation>Merci de supporter zec-qt-wallet !</translation>
<source>Thanks for supporting ZecWallet!</source>
<translation>Merci de supporter ZecWallet !</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
@ -446,8 +446,8 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
<source> to support zec-qt-wallet</source>
<translation> pour supporter zec-qt-wallet</translation>
<source> to support ZecWallet</source>
<translation> pour supporter ZecWallet</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="614"/>
@ -757,7 +757,7 @@ Cette adresse ne semble pas être de type adresse-z</translation>
</message>
<message>
<location filename="../src/mobileappconnector.ui" line="84"/>
<source>Allow connections over the internet via zec-qt-wallet wormhole</source>
<source>Allow connections over the internet via ZecWallet wormhole</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -819,13 +819,13 @@ Cette adresse ne semble pas être de type adresse-z</translation>
</message>
<message>
<location filename="../src/connection.cpp" line="77"/>
<source>You have zcashd set to start as a daemon, which can cause problems with zec-qt-wallet
<source>You have zcashd set to start as a daemon, which can cause problems with ZecWallet
.Please remove the following line from your zcash.conf and restart zec-qt-wallet
.Please remove the following line from your zcash.conf and restart ZecWallet
daemon=1</source>
<translation>vous avez zcashd configuré pour démarrer en tant que démon ce qui peut causer des problèmes avec zec-qt-wallet
<translation>vous avez zcashd configuré pour démarrer en tant que démon ce qui peut causer des problèmes avec ZecWallet
Veuillez enlever la ligne suivante de votre fichier &quot;zcash.conf&quot; et redémarrer zec-qt-wallet:
Veuillez enlever la ligne suivante de votre fichier &quot;zcash.conf&quot; et redémarrer ZecWallet:
daemon=1</translation>
</message>
<message>
@ -1000,8 +1000,8 @@ Would you like to visit the releases page?</source>
</message>
<message>
<location filename="../src/rpc.cpp" line="1096"/>
<source>Please wait for zec-qt-wallet to exit</source>
<translation>Veuillez patienter. Fermeture de zec-qt-wallet en cours</translation>
<source>Please wait for ZecWallet to exit</source>
<translation>Veuillez patienter. Fermeture de ZecWallet en cours</translation>
</message>
<message>
<location filename="../src/rpc.cpp" line="1097"/>
@ -1170,7 +1170,7 @@ Vous avez soit des fonds non confirmés soit le solde est trop petit pour une mi
</message>
<message>
<location filename="../src/websockets.cpp" line="345"/>
<source>Connected over the internet via zec-qt-wallet wormhole service</source>
<source>Connected over the internet via ZecWallet wormhole service</source>
<translation type="unfinished"></translation>
</message>
<message>

BIN
res/zec_qt_wallet_it.qm

Binary file not shown.

34
res/zec_qt_wallet_it.ts

@ -31,8 +31,8 @@
<name>ConnectionDialog</name>
<message>
<location filename="../src/connection.ui" line="17"/>
<source>zec-qt-wallet</source>
<translation>zec-qt-wallet</translation>
<source>ZecWallet</source>
<translation>ZecWallet</translation>
</message>
<message>
<location filename="../src/connection.ui" line="58"/>
@ -44,8 +44,8 @@
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.ui" line="14"/>
<source>zec-qt-wallet</source>
<translation>zec-qt-wallet</translation>
<source>ZecWallet</source>
<translation>ZecWallet</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="29"/>
@ -413,8 +413,8 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="575"/>
<source>Thanks for supporting zec-qt-wallet!</source>
<translation>Grazie per il tuo supporto a zec-qt-wallet!</translation>
<source>Thanks for supporting ZecWallet!</source>
<translation>Grazie per il tuo supporto a ZecWallet!</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
@ -423,8 +423,8 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
<source> to support zec-qt-wallet</source>
<translation> per supportare zec-qt-wallet</translation>
<source> to support ZecWallet</source>
<translation> per supportare ZecWallet</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="614"/>
@ -464,7 +464,7 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="524"/>
<source>Connection over Tor has been enabled. To use this feature, you need to restart zec-qt-wallet.</source>
<source>Connection over Tor has been enabled. To use this feature, you need to restart ZecWallet.</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -474,7 +474,7 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="533"/>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart zec-qt-wallet.</source>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart ZecWallet.</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -760,7 +760,7 @@ doesn&apos;t look like a z-address</source>
</message>
<message>
<location filename="../src/mobileappconnector.ui" line="84"/>
<source>Allow connections over the internet via zec-qt-wallet wormhole</source>
<source>Allow connections over the internet via ZecWallet wormhole</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -823,11 +823,11 @@ doesn&apos;t look like a z-address</source>
</message>
<message>
<location filename="../src/connection.cpp" line="77"/>
<source>You have zcashd set to start as a daemon, which can cause problems with zec-qt-wallet
<source>You have zcashd set to start as a daemon, which can cause problems with ZecWallet
.Please remove the following line from your zcash.conf and restart zec-qt-wallet
.Please remove the following line from your zcash.conf and restart ZecWallet
daemon=1</source>
<translatorcomment>Hai zcashd impostato per l&apos;avvio come daemon, che può causare problemi con zec-qt-wallet</translatorcomment>
<translatorcomment>Hai zcashd impostato per l&apos;avvio come daemon, che può causare problemi con ZecWallet</translatorcomment>
<translation>YOUR_TRANSLATION_HERE</translation>
</message>
<message>
@ -1003,9 +1003,9 @@ Would you like to visit the releases page?</source>
</message>
<message>
<location filename="../src/rpc.cpp" line="1096"/>
<source>Please wait for zec-qt-wallet to exit</source>
<source>Please wait for ZecWallet to exit</source>
<translatorcomment>controllare, senza contesto potrebbe voler dire &quot;attendere zec qt wallet per uscire&quot; o altro, non ho contesto</translatorcomment>
<translation>Si prega di attendere che zec-qt-wallet finisca la procedura di uscita</translation>
<translation>Si prega di attendere che ZecWallet finisca la procedura di uscita</translation>
</message>
<message>
<location filename="../src/rpc.cpp" line="1097"/>
@ -1174,7 +1174,7 @@ Avete fondi non confermati o il saldo è troppo basso per una migrazione automat
</message>
<message>
<location filename="../src/websockets.cpp" line="345"/>
<source>Connected over the internet via zec-qt-wallet wormhole service</source>
<source>Connected over the internet via ZecWallet wormhole service</source>
<translation type="unfinished"></translation>
</message>
<message>

BIN
res/zec_qt_wallet_pt.qm

Binary file not shown.

36
res/zec_qt_wallet_pt.ts

@ -31,8 +31,8 @@
<name>ConnectionDialog</name>
<message>
<location filename="../src/connection.ui" line="17"/>
<source>zec-qt-wallet</source>
<translation>zec-qt-wallet</translation>
<source>ZecWallet</source>
<translation>ZecWallet</translation>
</message>
<message>
<location filename="../src/connection.ui" line="58"/>
@ -44,8 +44,8 @@
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.ui" line="14"/>
<source>zec-qt-wallet</source>
<translation>zec-qt-wallet</translation>
<source>ZecWallet</source>
<translation>ZecWallet</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="29"/>
@ -416,7 +416,7 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="524"/>
<source>Connection over Tor has been enabled. To use this feature, you need to restart zec-qt-wallet.</source>
<source>Connection over Tor has been enabled. To use this feature, you need to restart ZecWallet.</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -426,13 +426,13 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="533"/>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart zec-qt-wallet.</source>
<source>Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart ZecWallet.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="575"/>
<source>Thanks for supporting zec-qt-wallet!</source>
<translation>Obrigado por apoiar a zec-qt-wallet!</translation>
<source>Thanks for supporting ZecWallet!</source>
<translation>Obrigado por apoiar a ZecWallet!</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
@ -441,8 +441,8 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="577"/>
<source> to support zec-qt-wallet</source>
<translation> para apoiar zec-qt-wallet</translation>
<source> to support ZecWallet</source>
<translation> para apoiar ZecWallet</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="614"/>
@ -752,7 +752,7 @@ não se parece com um z-Address</translation>
</message>
<message>
<location filename="../src/mobileappconnector.ui" line="84"/>
<source>Allow connections over the internet via zec-qt-wallet wormhole</source>
<source>Allow connections over the internet via ZecWallet wormhole</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -814,12 +814,12 @@ não se parece com um z-Address</translation>
</message>
<message>
<location filename="../src/connection.cpp" line="77"/>
<source>You have zcashd set to start as a daemon, which can cause problems with zec-qt-wallet
<source>You have zcashd set to start as a daemon, which can cause problems with ZecWallet
.Please remove the following line from your zcash.conf and restart zec-qt-wallet
.Please remove the following line from your zcash.conf and restart ZecWallet
daemon=1</source>
<translation>Você tem zcashd configurado como daemon, o que pode causar problemas com a zec-qt-wallet
Por favor, remova a seguinte linha do seu zcash.conf e reinicie a zec-qt-wallet:
<translation>Você tem zcashd configurado como daemon, o que pode causar problemas com a ZecWallet
Por favor, remova a seguinte linha do seu zcash.conf e reinicie a ZecWallet:
daemon=1</translation>
</message>
<message>
@ -994,8 +994,8 @@ Would you like to visit the releases page?</source>
</message>
<message>
<location filename="../src/rpc.cpp" line="1096"/>
<source>Please wait for zec-qt-wallet to exit</source>
<translation>Por favor, espera zec-qt-wallet finalizar</translation>
<source>Please wait for ZecWallet to exit</source>
<translation>Por favor, espera ZecWallet finalizar</translation>
</message>
<message>
<location filename="../src/rpc.cpp" line="1097"/>
@ -1164,7 +1164,7 @@ Você possui fundos não confirmados ou o saldo é muito baixo para uma migraç
</message>
<message>
<location filename="../src/websockets.cpp" line="345"/>
<source>Connected over the internet via zec-qt-wallet wormhole service</source>
<source>Connected over the internet via ZecWallet wormhole service</source>
<translation type="unfinished"></translation>
</message>
<message>

2739
res/zec-qt-wallet.xpm → res/zecwallet.xpm

File diff suppressed because it is too large

2
src/about.ui

@ -17,7 +17,7 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string notr="true">zec-qt-wallet</string>
<string notr="true">ZecWallet</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>

4
src/connection.cpp

@ -75,8 +75,8 @@ void ConnectionLoader::doAutoConnect(bool tryEzcashdStart) {
QString explanation;
if (config->zcashDaemon) {
explanation = QString() % QObject::tr("You have zcashd set to start as a daemon, which can cause problems "
"with zec-qt-wallet\n\n."
"Please remove the following line from your zcash.conf and restart zec-qt-wallet\n"
"with ZecWallet\n\n."
"Please remove the following line from your zcash.conf and restart ZecWallet\n"
"daemon=1");
} else {
explanation = QString() % QObject::tr("Couldn't start the embedded zcashd.\n\n"

2
src/connection.ui

@ -14,7 +14,7 @@
</rect>
</property>
<property name="windowTitle">
<string>zec-qt-wallet</string>
<string>ZecWallet</string>
</property>
<property name="modal">
<bool>true</bool>

2
src/main.cpp

@ -214,7 +214,7 @@ public:
}
w = new MainWindow();
w->setWindowTitle("zec-qt-wallet v" + QString(APP_VERSION));
w->setWindowTitle("ZecWallet v" + QString(APP_VERSION));
if (parser.isSet(headlessOption)) {
Settings::getInstance()->setHeadless(true);

8
src/mainwindow.cpp

@ -521,7 +521,7 @@ void MainWindow::setupSettingsModal() {
rpc->getConnection()->config->proxy = "proxy=127.0.0.1:9050";
QMessageBox::information(this, tr("Enable Tor"),
tr("Connection over Tor has been enabled. To use this feature, you need to restart zec-qt-wallet."),
tr("Connection over Tor has been enabled. To use this feature, you need to restart ZecWallet."),
QMessageBox::Ok);
}
if (isUsingTor && !settings.chkTor->isChecked()) {
@ -530,7 +530,7 @@ void MainWindow::setupSettingsModal() {
rpc->getConnection()->config->proxy.clear();
QMessageBox::information(this, tr("Disable Tor"),
tr("Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart zec-qt-wallet."),
tr("Connection over Tor has been disabled. To fully disconnect from Tor, you need to restart ZecWallet."),
QMessageBox::Ok);
}
@ -572,9 +572,9 @@ void MainWindow::donate() {
Settings::getInstance()->isSaplingAddress(ui->inputsCombo->currentText())));
ui->Address1->setCursorPosition(0);
ui->Amount1->setText("0.01");
ui->MemoTxt1->setText(tr("Thanks for supporting zec-qt-wallet!"));
ui->MemoTxt1->setText(tr("Thanks for supporting ZecWallet!"));
ui->statusBar->showMessage(tr("Donate 0.01 ") % Settings::getTokenName() % tr(" to support zec-qt-wallet"));
ui->statusBar->showMessage(tr("Donate 0.01 ") % Settings::getTokenName() % tr(" to support ZecWallet"));
// And switch to the send tab.
ui->tabWidget->setCurrentIndex(1);

2
src/mainwindow.ui

@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>zec-qt-wallet</string>
<string>ZecWallet</string>
</property>
<property name="windowIcon">
<iconset resource="../application.qrc">

2
src/mobileappconnector.ui

@ -81,7 +81,7 @@
<item row="3" column="0">
<widget class="QCheckBox" name="chkInternetConn">
<property name="text">
<string>Allow connections over the internet via zec-qt-wallet wormhole</string>
<string>Allow connections over the internet via ZecWallet wormhole</string>
</property>
</widget>
</item>

27
src/rpc.cpp

@ -713,7 +713,7 @@ void RPC::updateUI(bool anyUnconfirmed) {
};
// Function to process reply of the listunspent and z_listunspent API calls, used below.
bool RPC::processUnspent(const json& reply) {
bool RPC::processUnspent(const json& reply, QMap<QString, double>* balancesMap, QList<UnspentOutput>* newUtxos) {
bool anyUnconfirmed = false;
for (auto& it : reply.get<json::array_t>()) {
QString qsAddr = QString::fromStdString(it["address"]);
@ -722,12 +722,12 @@ bool RPC::processUnspent(const json& reply) {
anyUnconfirmed = true;
}
utxos->push_back(
newUtxos->push_back(
UnspentOutput{ qsAddr, QString::fromStdString(it["txid"]),
Settings::getDecimalString(it["amount"].get<json::number_float_t>()),
(int)confirmations, it["spendable"].get<json::boolean_t>() });
(*allBalances)[qsAddr] = (*allBalances)[qsAddr] + it["amount"].get<json::number_float_t>();
(*balancesMap)[qsAddr] = (*balancesMap)[qsAddr] + it["amount"].get<json::number_float_t>();
}
return anyUnconfirmed;
};
@ -754,18 +754,23 @@ void RPC::refreshBalances() {
});
// 2. Get the UTXOs
// First, create a new UTXO list, deleting the old one;
delete utxos;
utxos = new QList<UnspentOutput>();
delete allBalances;
allBalances = new QMap<QString, double>();
// First, create a new UTXO list. It will be replacing the existing list when everything is processed.
auto newUtxos = new QList<UnspentOutput>();
auto newBalances = new QMap<QString, double>();
// Call the Transparent and Z unspent APIs serially and then, once they're done, update the UI
getTransparentUnspent([=] (json reply) {
auto anyTUnconfirmed = processUnspent(reply);
auto anyTUnconfirmed = processUnspent(reply, newBalances, newUtxos);
getZUnspent([=] (json reply) {
auto anyZUnconfirmed = processUnspent(reply);
auto anyZUnconfirmed = processUnspent(reply, newBalances, newUtxos);
// Swap out the balances and UTXOs
delete allBalances;
delete utxos;
allBalances = newBalances;
utxos = newUtxos;
updateUI(anyTUnconfirmed || anyZUnconfirmed);
});
@ -1093,7 +1098,7 @@ void RPC::shutdownZcashd() {
Ui_ConnectionDialog connD;
connD.setupUi(&d);
connD.topIcon->setBasePixmap(QIcon(":/icons/res/icon.ico").pixmap(256, 256));
connD.status->setText(QObject::tr("Please wait for zec-qt-wallet to exit"));
connD.status->setText(QObject::tr("Please wait for ZecWallet to exit"));
connD.statusDetail->setText(QObject::tr("Waiting for zcashd to exit"));
QTimer waiter(main);

2
src/rpc.h

@ -94,7 +94,7 @@ private:
void refreshSentZTrans();
void refreshReceivedZTrans(QList<QString> zaddresses);
bool processUnspent (const json& reply);
bool processUnspent (const json& reply, QMap<QString, double>* newBalances, QList<UnspentOutput>* newUtxos);
void updateUI (bool anyUnconfirmed);
void getInfoThenRefresh(bool force);

4
src/scripts/control

@ -4,6 +4,6 @@ Section: base
Priority: optional
Architecture: amd64
Maintainer: Aditya Kulkarni <zcash@adityapk.com>
Description: zec-qt-wallet is a full node and UI wallet for Zcash.
zec-qt-wallet is a full node and UI wallet for Zcash. It comes with
Description: ZecWallet is a full node and UI wallet for Zcash.
ZecWallet is a full node and UI wallet for Zcash. It comes with
full support for shielded addresses and many apps for Zcash.

10
src/scripts/desktopentry

@ -1,13 +1,13 @@
[Desktop Entry]
Name=zec-qt-wallet
Name=ZecWallet
Comment=Full node and wallet for Zcash
GenericName=Wallet
Exec=/usr/local/bin/zec-qt-wallet
Icon=zec-qt-wallet.xpm
Exec=/usr/local/bin/zecwallet
Icon=zecwallet.xpm
Type=Application
StartupNotify=true
StartupWMClass=zecqtwallet
StartupWMClass=zecwallet
Categories=Utility;
MimeType=text/plain;inode/directory;
Keywords=zec-qt-wallet;
Keywords=zecwallet;

19
src/scripts/mkmacdmg.sh

@ -60,7 +60,7 @@ export PATH=$PATH:/usr/local/bin
#Clean
echo -n "Cleaning..............."
make distclean >/dev/null 2>&1
rm -f artifacts/macOS-zec-qt-wallet-v$APP_VERSION.dmg
rm -f artifacts/macOS-zecwallet-v$APP_VERSION.dmg
echo "[OK]"
@ -78,26 +78,27 @@ echo "[OK]"
#Qt deploy
echo -n "Deploying.............."
mkdir artifacts >/dev/null 2>&1
rm -f artifcats/zec-qt-wallet.dmg >/dev/null 2>&1
rm -f artifcats/zecwallet.dmg >/dev/null 2>&1
rm -f artifacts/rw* >/dev/null 2>&1
cp $ZCASH_DIR/src/zcashd zec-qt-wallet.app/Contents/MacOS/
cp $ZCASH_DIR/src/zcash-cli zec-qt-wallet.app/Contents/MacOS/
$QT_PATH/bin/macdeployqt zec-qt-wallet.app
cp $ZCASH_DIR/src/zcashd zecwallet.app/Contents/MacOS/
cp $ZCASH_DIR/src/zcash-cli zecwallet.app/Contents/MacOS/
$QT_PATH/bin/macdeployqt zecwallet.app
echo "[OK]"
echo -n "Building dmg..........."
create-dmg --volname "zec-qt-wallet-v$APP_VERSION" --volicon "res/logo.icns" --window-pos 200 120 --icon "zec-qt-wallet.app" 200 190 --app-drop-link 600 185 --hide-extension "zec-qt-wallet.app" --window-size 800 400 --hdiutil-quiet --background res/dmgbg.png artifacts/macOS-zec-qt-wallet-v$APP_VERSION.dmg zec-qt-wallet.app >/dev/null 2>&1
mv zecwallet.app ZecWallet.app
create-dmg --volname "ZecWallet-v$APP_VERSION" --volicon "res/logo.icns" --window-pos 200 120 --icon "ZecWallet.app" 200 190 --app-drop-link 600 185 --hide-extension "ZecWallet.app" --window-size 800 400 --hdiutil-quiet --background res/dmgbg.png artifacts/macOS-zecwallet-v$APP_VERSION.dmg ZecWallet.app >/dev/null 2>&1
#mkdir bin/dmgbuild >/dev/null 2>&1
#sed "s/RELEASE_VERSION/${APP_VERSION}/g" res/appdmg.json > bin/dmgbuild/appdmg.json
#cp res/logo.icns bin/dmgbuild/
#cp res/dmgbg.png bin/dmgbuild/
#cp -r zec-qt-wallet.app bin/dmgbuild/
#cp -r zecwallet.app bin/dmgbuild/
#appdmg --quiet bin/dmgbuild/appdmg.json artifacts/macOS-zec-qt-wallet-v$APP_VERSION.dmg >/dev/null
if [ ! -f artifacts/macOS-zec-qt-wallet-v$APP_VERSION.dmg ]; then
#appdmg --quiet bin/dmgbuild/appdmg.json artifacts/macOS-zecwallet-v$APP_VERSION.dmg >/dev/null
if [ ! -f artifacts/macOS-zecwallet-v$APP_VERSION.dmg ]; then
echo "[ERROR]"
exit 1
fi

53
src/scripts/mkrelease.sh

@ -66,6 +66,7 @@ echo "[OK]"
echo -n "Building..............."
rm -rf bin/zec-qt-wallet* > /dev/null
rm -rf bin/zecwallet* > /dev/null
make clean > /dev/null
make -j$(nproc) > /dev/null
echo "[OK]"
@ -73,7 +74,7 @@ echo "[OK]"
# Test for Qt
echo -n "Static link............"
if [[ $(ldd zec-qt-wallet | grep -i "Qt") ]]; then
if [[ $(ldd zecwallet | grep -i "Qt") ]]; then
echo "FOUND QT; ABORT";
exit 1
fi
@ -81,27 +82,27 @@ echo "[OK]"
echo -n "Packaging.............."
mkdir bin/zec-qt-wallet-v$APP_VERSION > /dev/null
strip zec-qt-wallet
mkdir bin/zecwallet-v$APP_VERSION > /dev/null
strip zecwallet
cp zec-qt-wallet bin/zec-qt-wallet-v$APP_VERSION > /dev/null
cp $ZCASH_DIR/artifacts/zcashd bin/zec-qt-wallet-v$APP_VERSION > /dev/null
cp $ZCASH_DIR/artifacts/zcash-cli bin/zec-qt-wallet-v$APP_VERSION > /dev/null
cp README.md bin/zec-qt-wallet-v$APP_VERSION > /dev/null
cp LICENSE bin/zec-qt-wallet-v$APP_VERSION > /dev/null
cp zecwallet bin/zecwallet-v$APP_VERSION > /dev/null
cp $ZCASH_DIR/artifacts/zcashd bin/zecwallet-v$APP_VERSION > /dev/null
cp $ZCASH_DIR/artifacts/zcash-cli bin/zecwallet-v$APP_VERSION > /dev/null
cp README.md bin/zecwallet-v$APP_VERSION > /dev/null
cp LICENSE bin/zecwallet-v$APP_VERSION > /dev/null
cd bin && tar czf linux-zec-qt-wallet-v$APP_VERSION.tar.gz zec-qt-wallet-v$APP_VERSION/ > /dev/null
cd bin && tar czf linux-zecwallet-v$APP_VERSION.tar.gz zecwallet-v$APP_VERSION/ > /dev/null
cd ..
mkdir artifacts >/dev/null 2>&1
cp bin/linux-zec-qt-wallet-v$APP_VERSION.tar.gz ./artifacts/linux-binaries-zec-qt-wallet-v$APP_VERSION.tar.gz
cp bin/linux-zecwallet-v$APP_VERSION.tar.gz ./artifacts/linux-binaries-zecwallet-v$APP_VERSION.tar.gz
echo "[OK]"
if [ -f artifacts/linux-binaries-zec-qt-wallet-v$APP_VERSION.tar.gz ] ; then
if [ -f artifacts/linux-binaries-zecwallet-v$APP_VERSION.tar.gz ] ; then
echo -n "Package contents......."
# Test if the package is built OK
if tar tf "artifacts/linux-binaries-zec-qt-wallet-v$APP_VERSION.tar.gz" | wc -l | grep -q "6"; then
if tar tf "artifacts/linux-binaries-zecwallet-v$APP_VERSION.tar.gz" | wc -l | grep -q "6"; then
echo "[OK]"
else
echo "[ERROR]"
@ -113,24 +114,24 @@ else
fi
echo -n "Building deb..........."
debdir=bin/deb/zec-qt-wallet-v$APP_VERSION
debdir=bin/deb/zecwallet-v$APP_VERSION
mkdir -p $debdir > /dev/null
mkdir $debdir/DEBIAN
mkdir -p $debdir/usr/local/bin
cat src/scripts/control | sed "s/RELEASE_VERSION/$APP_VERSION/g" > $debdir/DEBIAN/control
cp zec-qt-wallet $debdir/usr/local/bin/
cp zecwallet $debdir/usr/local/bin/
cp $ZCASH_DIR/artifacts/zcashd $debdir/usr/local/bin/zqw-zcashd
mkdir -p $debdir/usr/share/pixmaps/
cp res/zec-qt-wallet.xpm $debdir/usr/share/pixmaps/
cp res/zecwallet.xpm $debdir/usr/share/pixmaps/
mkdir -p $debdir/usr/share/applications
cp src/scripts/desktopentry $debdir/usr/share/applications/zec-qt-wallet.desktop
dpkg-deb --build $debdir >/dev/null
cp $debdir.deb artifacts/linux-deb-zec-qt-wallet-v$APP_VERSION.deb
cp $debdir.deb artifacts/linux-deb-zecwallet-v$APP_VERSION.deb
echo "[OK]"
@ -173,22 +174,22 @@ echo "[OK]"
echo -n "Packaging.............."
mkdir release/zec-qt-wallet-v$APP_VERSION
cp release/zec-qt-wallet.exe release/zec-qt-wallet-v$APP_VERSION
cp $ZCASH_DIR/artifacts/zcashd.exe release/zec-qt-wallet-v$APP_VERSION > /dev/null
cp $ZCASH_DIR/artifacts/zcash-cli.exe release/zec-qt-wallet-v$APP_VERSION > /dev/null
cp README.md release/zec-qt-wallet-v$APP_VERSION
cp LICENSE release/zec-qt-wallet-v$APP_VERSION
cd release && zip -r Windows-binaries-zec-qt-wallet-v$APP_VERSION.zip zec-qt-wallet-v$APP_VERSION/ > /dev/null
mkdir release/zecwallet-v$APP_VERSION
cp release/zecwallet.exe release/zecwallet-v$APP_VERSION
cp $ZCASH_DIR/artifacts/zcashd.exe release/zecwallet-v$APP_VERSION > /dev/null
cp $ZCASH_DIR/artifacts/zcash-cli.exe release/zecwallet-v$APP_VERSION > /dev/null
cp README.md release/zecwallet-v$APP_VERSION
cp LICENSE release/zecwallet-v$APP_VERSION
cd release && zip -r Windows-binaries-zecwallet-v$APP_VERSION.zip zecwallet-v$APP_VERSION/ > /dev/null
cd ..
mkdir artifacts >/dev/null 2>&1
cp release/Windows-binaries-zec-qt-wallet-v$APP_VERSION.zip ./artifacts/
cp release/Windows-binaries-zecwallet-v$APP_VERSION.zip ./artifacts/
echo "[OK]"
if [ -f artifacts/Windows-binaries-zec-qt-wallet-v$APP_VERSION.zip ] ; then
if [ -f artifacts/Windows-binaries-zecwallet-v$APP_VERSION.zip ] ; then
echo -n "Package contents......."
if unzip -l "artifacts/Windows-binaries-zec-qt-wallet-v$APP_VERSION.zip" | wc -l | grep -q "11"; then
if unzip -l "artifacts/Windows-binaries-zecwallet-v$APP_VERSION.zip" | wc -l | grep -q "11"; then
echo "[OK]"
else
echo "[ERROR]"

8
src/scripts/mkwininstaller.ps1

@ -2,12 +2,12 @@ param (
[Parameter(Mandatory=$true)][string]$version
)
$target="zec-qt-wallet-v$version"
$target="zecwallet-v$version"
Remove-Item -Path release/wininstaller -Recurse -ErrorAction Ignore | Out-Null
New-Item release/wininstaller -itemtype directory | Out-Null
Copy-Item release/$target/zec-qt-wallet.exe release/wininstaller/
Copy-Item release/$target/zecwallet.exe release/wininstaller/
Copy-Item release/$target/LICENSE release/wininstaller/
Copy-Item release/$target/README.md release/wininstaller/
Copy-Item release/$target/zcashd.exe release/wininstaller/
@ -20,10 +20,10 @@ if (!$?) {
exit 1;
}
light.exe -ext WixUIExtension -cultures:en-us release/wininstaller/zec-qt-wallet.wixobj -out release/wininstaller/zec-qt-wallet.msi
light.exe -ext WixUIExtension -cultures:en-us release/wininstaller/zec-qt-wallet.wixobj -out release/wininstaller/zecwallet.msi
if (!$?) {
exit 1;
}
New-Item artifacts -itemtype directory -Force | Out-Null
Copy-Item release/wininstaller/zec-qt-wallet.msi ./artifacts/Windows-installer-$target.msi
Copy-Item release/wininstaller/zecwallet.msi ./artifacts/Windows-installer-$target.msi

6
src/scripts/zec-qt-wallet.wxs

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="zec-qt-wallet vRELEASE_VERSION" Language="1033" Version="RELEASE_VERSION" Manufacturer="zec-qt-wallet-org" UpgradeCode="fb9bf166-b55f-46b5-a990-9189bdf64533">
<Product Id="*" Name="ZecWallet vRELEASE_VERSION" Language="1033" Version="RELEASE_VERSION" Manufacturer="zec-qt-wallet-org" UpgradeCode="fb9bf166-b55f-46b5-a990-9189bdf64533">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
@ -55,9 +55,9 @@
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="ProductComponent" Guid="0D210F5A-53E0-4E7E-CAAD-15A26995505E">
<File Source="zec-qt-wallet.exe" KeyPath="yes">
<File Source="zecwallet.exe" KeyPath="yes">
<Shortcut Id="startMenuShotcut" Advertise="yes" Directory="ApplicationProgramsFolder"
Name="zec-qt-wallet" WorkingDirectory="INSTALLFOLDER" Icon="zecqtwalleticon.exe" >
Name="ZecWallet" WorkingDirectory="INSTALLFOLDER" Icon="zecqtwalleticon.exe" >
</Shortcut>
</File>
<File Source="LICENSE" />

2
src/websockets.cpp

@ -342,7 +342,7 @@ QString AppDataServer::connDesc(AppConnectionType t) {
return QObject::tr("Connected directly");
}
else {
return QObject::tr("Connected over the internet via zec-qt-wallet wormhole service");
return QObject::tr("Connected over the internet via ZecWallet wormhole service");
}
}

2
zec-qt-wallet.pro

@ -13,7 +13,7 @@ PRECOMPILED_HEADER = src/precompiled.h
QT += widgets
QT += websockets
TARGET = zec-qt-wallet
TARGET = zecwallet
TEMPLATE = app

Loading…
Cancel
Save