rebranding to SD
This commit is contained in:
@@ -3,7 +3,7 @@ Version: RELEASE_VERSION
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: Aditya Kulkarni <zcash@adityapk.com>
|
||||
Description: silentdragon is a full node and UI wallet for Zcash.
|
||||
silentdragon is a full node and UI wallet for Zcash. It comes with
|
||||
full support for shielded addresses and many apps for Zcash.
|
||||
Maintainer: Aditya Kulkarni <hush@adityapk.com>
|
||||
Description: silentdragon is a full node and UI wallet for hush.
|
||||
silentdragon is a full node and UI wallet for hush. It comes with
|
||||
full support for shielded addresses and many apps for hush.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=silentdragon
|
||||
Comment=Full node and wallet for Zcash
|
||||
Comment=Full node and wallet for hush
|
||||
GenericName=Wallet
|
||||
Exec=/usr/local/bin/silentdragon %u
|
||||
Icon=silentdragon.xpm
|
||||
@@ -8,6 +8,6 @@ Type=Application
|
||||
StartupNotify=true
|
||||
StartupWMClass=silentdragon
|
||||
Categories=Utility;
|
||||
MimeType=x-scheme-handler/zcash;
|
||||
MimeType=x-scheme-handler/hush;
|
||||
Keywords=silentdragon;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ Write-Host ""
|
||||
|
||||
|
||||
Write-Host "[Building on Mac]"
|
||||
bash src/scripts/mkmacdmg.sh --qt_path ~/Qt/5.11.1/clang_64/ --version $version --zcash_path ~/prod/zcash
|
||||
bash src/scripts/mkmacdmg.sh --qt_path ~/Qt/5.11.1/clang_64/ --version $version --hush_path ~/prod/hush
|
||||
if (! $?) {
|
||||
Write-Output "[Error]"
|
||||
exit 1;
|
||||
|
||||
@@ -12,8 +12,8 @@ case $key in
|
||||
shift # past argument
|
||||
shift # past value
|
||||
;;
|
||||
-z|--zcash_path)
|
||||
ZCASH_DIR="$2"
|
||||
-z|--hush_path)
|
||||
hush_DIR="$2"
|
||||
shift # past argument
|
||||
shift # past value
|
||||
;;
|
||||
@@ -35,8 +35,8 @@ if [ -z $QT_PATH ]; then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ -z $ZCASH_DIR ]; then
|
||||
echo "ZCASH_DIR is not set. Please set it to the base directory of a compiled zcashd";
|
||||
if [ -z $hush_DIR ]; then
|
||||
echo "hush_DIR is not set. Please set it to the base directory of a compiled hushd";
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
@@ -45,8 +45,8 @@ if [ -z $APP_VERSION ]; then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ ! -f $ZCASH_DIR/src/zcashd ]; then
|
||||
echo "Could not find compiled zcashd in $ZCASH_DIR/src/.";
|
||||
if [ ! -f $hush_DIR/src/hushd ]; then
|
||||
echo "Could not find compiled hushd in $hush_DIR/src/.";
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
@@ -80,8 +80,8 @@ echo -n "Deploying.............."
|
||||
mkdir artifacts >/dev/null 2>&1
|
||||
rm -f artifcats/silentdragon.dmg >/dev/null 2>&1
|
||||
rm -f artifacts/rw* >/dev/null 2>&1
|
||||
cp $ZCASH_DIR/src/zcashd silentdragon.app/Contents/MacOS/
|
||||
cp $ZCASH_DIR/src/zcash-cli silentdragon.app/Contents/MacOS/
|
||||
cp $hush_DIR/src/hushd silentdragon.app/Contents/MacOS/
|
||||
cp $hush_DIR/src/hush-cli silentdragon.app/Contents/MacOS/
|
||||
$QT_PATH/bin/macdeployqt silentdragon.app
|
||||
echo "[OK]"
|
||||
|
||||
|
||||
@@ -7,37 +7,37 @@ fi
|
||||
if [ -z $APP_VERSION ]; then echo "APP_VERSION is not set"; exit 1; fi
|
||||
if [ -z $PREV_VERSION ]; then echo "PREV_VERSION is not set"; exit 1; fi
|
||||
|
||||
if [ -z $ZCASH_DIR ]; then
|
||||
echo "ZCASH_DIR is not set. Please set it to the base directory of a Zcash project with built Zcash binaries."
|
||||
if [ -z $hush_DIR ]; then
|
||||
echo "hush_DIR is not set. Please set it to the base directory of a hush project with built hush binaries."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ ! -f $ZCASH_DIR/artifacts/zcashd ]; then
|
||||
echo "Couldn't find zcashd in $ZCASH_DIR/artifacts/. Please build zcashd."
|
||||
if [ ! -f $hush_DIR/artifacts/hushd ]; then
|
||||
echo "Couldn't find hushd in $hush_DIR/artifacts/. Please build hushd."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ ! -f $ZCASH_DIR/artifacts/zcash-cli ]; then
|
||||
echo "Couldn't find zcash-cli in $ZCASH_DIR/artifacts/. Please build zcashd."
|
||||
if [ ! -f $hush_DIR/artifacts/hush-cli ]; then
|
||||
echo "Couldn't find hush-cli in $hush_DIR/artifacts/. Please build hushd."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
# Ensure that zcashd is the right build
|
||||
echo -n "zcashd version........."
|
||||
if grep -q "zqwMagicBean" $ZCASH_DIR/artifacts/zcashd && ! readelf -s $ZCASH_DIR/artifacts/zcashd | grep -q "GLIBC_2\.25"; then
|
||||
# Ensure that hushd is the right build
|
||||
echo -n "hushd version........."
|
||||
if grep -q "zqwMagicBean" $hush_DIR/artifacts/hushd && ! readelf -s $hush_DIR/artifacts/hushd | grep -q "GLIBC_2\.25"; then
|
||||
echo "[OK]"
|
||||
else
|
||||
echo "[ERROR]"
|
||||
echo "zcashd doesn't seem to be a zqwMagicBean build or zcashd is built with libc 2.25"
|
||||
echo "hushd doesn't seem to be a zqwMagicBean build or hushd is built with libc 2.25"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo -n "zcashd.exe version....."
|
||||
if grep -q "zqwMagicBean" $ZCASH_DIR/artifacts/zcashd.exe; then
|
||||
echo -n "hushd.exe version....."
|
||||
if grep -q "zqwMagicBean" $hush_DIR/artifacts/hushd.exe; then
|
||||
echo "[OK]"
|
||||
else
|
||||
echo "[ERROR]"
|
||||
echo "zcashd doesn't seem to be a zqwMagicBean build"
|
||||
echo "hushd doesn't seem to be a zqwMagicBean build"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -86,8 +86,8 @@ mkdir bin/silentdragon-v$APP_VERSION > /dev/null
|
||||
strip silentdragon
|
||||
|
||||
cp silentdragon bin/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp $ZCASH_DIR/artifacts/zcashd bin/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp $ZCASH_DIR/artifacts/zcash-cli bin/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp $hush_DIR/artifacts/hushd bin/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp $hush_DIR/artifacts/hush-cli bin/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp README.md bin/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp LICENSE bin/silentdragon-v$APP_VERSION > /dev/null
|
||||
|
||||
@@ -122,7 +122,7 @@ mkdir -p $debdir/usr/local/bin
|
||||
cat src/scripts/control | sed "s/RELEASE_VERSION/$APP_VERSION/g" > $debdir/DEBIAN/control
|
||||
|
||||
cp silentdragon $debdir/usr/local/bin/
|
||||
cp $ZCASH_DIR/artifacts/zcashd $debdir/usr/local/bin/zqw-zcashd
|
||||
cp $hush_DIR/artifacts/hushd $debdir/usr/local/bin/zqw-hushd
|
||||
|
||||
mkdir -p $debdir/usr/share/pixmaps/
|
||||
cp res/silentdragon.xpm $debdir/usr/share/pixmaps/
|
||||
@@ -145,14 +145,14 @@ if [ -z $MXE_PATH ]; then
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
if [ ! -f $ZCASH_DIR/artifacts/zcashd.exe ]; then
|
||||
echo "Couldn't find zcashd.exe in $ZCASH_DIR/artifacts/. Please build zcashd.exe"
|
||||
if [ ! -f $hush_DIR/artifacts/hushd.exe ]; then
|
||||
echo "Couldn't find hushd.exe in $hush_DIR/artifacts/. Please build hushd.exe"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -f $ZCASH_DIR/artifacts/zcash-cli.exe ]; then
|
||||
echo "Couldn't find zcash-cli.exe in $ZCASH_DIR/artifacts/. Please build zcashd.exe"
|
||||
if [ ! -f $hush_DIR/artifacts/hush-cli.exe ]; then
|
||||
echo "Couldn't find hush-cli.exe in $hush_DIR/artifacts/. Please build hushd.exe"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
@@ -176,8 +176,8 @@ echo "[OK]"
|
||||
echo -n "Packaging.............."
|
||||
mkdir release/silentdragon-v$APP_VERSION
|
||||
cp release/silentdragon.exe release/silentdragon-v$APP_VERSION
|
||||
cp $ZCASH_DIR/artifacts/zcashd.exe release/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp $ZCASH_DIR/artifacts/zcash-cli.exe release/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp $hush_DIR/artifacts/hushd.exe release/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp $hush_DIR/artifacts/hush-cli.exe release/silentdragon-v$APP_VERSION > /dev/null
|
||||
cp README.md release/silentdragon-v$APP_VERSION
|
||||
cp LICENSE release/silentdragon-v$APP_VERSION
|
||||
cd release && zip -r Windows-binaries-silentdragon-v$APP_VERSION.zip silentdragon-v$APP_VERSION/ > /dev/null
|
||||
|
||||
@@ -10,8 +10,8 @@ New-Item release/wininstaller -itemtype directory | Out-Null
|
||||
Copy-Item release/$target/silentdragon.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/
|
||||
Copy-Item release/$target/zcash-cli.exe release/wininstaller/
|
||||
Copy-Item release/$target/hushd.exe release/wininstaller/
|
||||
Copy-Item release/$target/hush-cli.exe release/wininstaller/
|
||||
|
||||
Get-Content src/scripts/hush-qt-wallet.wxs | ForEach-Object { $_ -replace "RELEASE_VERSION", "$version" } | Out-File -Encoding utf8 release/wininstaller/hush-qt-wallet.wxs
|
||||
|
||||
|
||||
@@ -61,13 +61,13 @@
|
||||
</Shortcut>
|
||||
</File>
|
||||
<File Source="LICENSE" />
|
||||
<File Source="zcashd.exe" />
|
||||
<File Source="zcash-cli.exe" />
|
||||
<File Source="hushd.exe" />
|
||||
<File Source="hush-cli.exe" />
|
||||
<File Source="README.md" />
|
||||
|
||||
<RegistryKey Root="HKCR" Key="zcash">
|
||||
<RegistryKey Root="HKCR" Key="hush">
|
||||
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
|
||||
<RegistryValue Type="string" Value="URL:zcash URI protocol"/>
|
||||
<RegistryValue Type="string" Value="URL:hush URI protocol"/>
|
||||
<RegistryKey Key="DefaultIcon">
|
||||
<RegistryValue Type="string" Value="silentdragon.exe" />
|
||||
</RegistryKey>
|
||||
|
||||
Reference in New Issue
Block a user