rename to zec-qt-wallet

This commit is contained in:
Aditya Kulkarni
2018-10-24 14:26:33 -07:00
parent 82c929db6a
commit 051f797331
13 changed files with 65 additions and 134 deletions

View File

@@ -1,7 +1,7 @@
if (-not (Test-Path env:QT_DIR)) { echo "QT_DIR is not set. Please set it to the Qt directory from where you'd like to build. Usually, this is the installation directory of Qt."; exit; }
if (-not (Test-Path env:APP_VERSION)) { echo "APP_VERSION is not set. Please set it to the version you want to build, like 0.1.6"; exit; }
$target="zcash-qt-wallet-v$Env:APP_VERSION"
$target="zec-qt-wallet-v$Env:APP_VERSION"
echo "Cleaning"
nmake clean *>$null
@@ -10,17 +10,17 @@ Remove-Item -Path release -Recurse | Out-Null
# Run qmake
echo "Configuring"
& "$Env:QT_DIR\bin\qmake.exe" zcash-qt-wallet.pro -spec win32-msvc "CONFIG+=release"
& "$Env:QT_DIR\bin\qmake.exe" zec-qt-wallet.pro -spec win32-msvc "CONFIG+=release"
echo "Building"
nmake *>$null
# Make a dist directory in release
New-Item release/$target -itemtype directory | Out-Null
Move-Item release/zcash-qt-wallet.exe release/$target | Out-Null
Move-Item release/zec-qt-wallet.exe release/$target | Out-Null
echo "Copying"
# No need for deploy, since we're using a static Qt5 library
& "$Env:QT_DIR\bin\windeployqt.exe" release/$target/zcash-qt-wallet.exe *>$null
& "$Env:QT_DIR\bin\windeployqt.exe" release/$target/zec-qt-wallet.exe *>$null
Copy-Item LICENSE release/$target | Out-Null
Copy-Item README.md release/$target | Out-Null