Search/replace for dragonx
@@ -2,7 +2,7 @@
|
||||
|
||||
SilentDragonXLite is a lightwallet for DRAGONX ($DRAGONX) runs on Linux and Windows which does not require you to download the full blockchain. This is experimental software under active development!
|
||||
|
||||
<img src="res/images/silentdragonlite.png" width="750">
|
||||
<img src="res/images/silentdragonxlite.png" width="750">
|
||||
|
||||
## PRIVACY NOTICE
|
||||
|
||||
@@ -28,7 +28,7 @@ Go to the [releases page](https://git.hush.is/dragonx/SilentDragonXLite/releases
|
||||
|
||||
### Option 2: Compile Release Yourself
|
||||
|
||||
* SilentDragonLite is written in C++ 14, and can be compiled with g++/clang++/visual c++.
|
||||
* SilentDragonXLite is written in C++ 14, and can be compiled with g++/clang++/visual c++.
|
||||
* It also depends on Qt5, which you can get from [here](https://www.qt.io/download) or we recommend installing using your Linux version's package manager (if available).
|
||||
* **You'll need Rust v1.49**, so install it via [Rustup in Linux](https://rustup.rs/). **If you use a version greater then 1.63, then it will not currently build** as seen in [Issue #89](https://git.hush.is/hush/SilentDragonLite/issues/89).
|
||||
|
||||
@@ -86,7 +86,7 @@ NOTE: Tor server is currently under maintenance.
|
||||
|
||||
```
|
||||
* Open SDL Edit->Settings->LightwalletServer->nope.onion:80
|
||||
* Open the folder of SDL in a Terminal -> Enter: TORSOCKS_LOG_LEVEL=1 torsocks -i ./SilentDragonLite
|
||||
* Open the folder of SDL in a Terminal -> Enter: TORSOCKS_LOG_LEVEL=1 torsocks -i ./SilentDragonXLite
|
||||
```
|
||||
### Note Management
|
||||
SilentDragonXLite does automatic note and utxo management, which means it doesn't allow you to manually select which address to send outgoing transactions from. It follows these principles:
|
||||
|
||||
@@ -52,10 +52,10 @@
|
||||
<qresource prefix="/img">
|
||||
<file>res/hushdlogo.png</file>
|
||||
<file>res/hushdlogo.gif</file>
|
||||
<file>res/silentdragonlite-animated.gif</file>
|
||||
<file>res/silentdragonlite-animated-dark.gif</file>
|
||||
<file>res/silentdragonlite-animated-startup.gif</file>
|
||||
<file>res/silentdragonlite-animated-startup-dark.gif</file>
|
||||
<file>res/silentdragonxlite-animated.gif</file>
|
||||
<file>res/silentdragonxlite-animated-dark.gif</file>
|
||||
<file>res/silentdragonxlite-animated-startup.gif</file>
|
||||
<file>res/silentdragonxlite-animated-startup-dark.gif</file>
|
||||
<file>res/loaderblack.gif</file>
|
||||
<file>res/loaderwhite.gif</file>
|
||||
<file>res/logobig.gif</file>
|
||||
@@ -81,23 +81,23 @@
|
||||
<file>res/emoji/SD.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/translations">
|
||||
<file>res/silentdragonlite_ar.qm</file>
|
||||
<file>res/silentdragonlite_be.qm</file>
|
||||
<file>res/silentdragonlite_pl.qm</file>
|
||||
<file>res/silentdragonlite_de.qm</file>
|
||||
<file>res/silentdragonlite_es.qm</file>
|
||||
<file>res/silentdragonlite_fa.qm</file>
|
||||
<file>res/silentdragonlite_fr.qm</file>
|
||||
<file>res/silentdragonlite_hr.qm</file>
|
||||
<file>res/silentdragonlite_id.qm</file>
|
||||
<file>res/silentdragonlite_it.qm</file>
|
||||
<file>res/silentdragonlite_pt.qm</file>
|
||||
<file>res/silentdragonlite_ro.qm</file>
|
||||
<file>res/silentdragonlite_ru.qm</file>
|
||||
<file>res/silentdragonlite_ud.qm</file>
|
||||
<file>res/silentdragonlite_sr.qm</file>
|
||||
<file>res/silentdragonlite_tr.qm</file>
|
||||
<file>res/silentdragonlite_zh.qm</file>
|
||||
<file>res/silentdragonxlite_ar.qm</file>
|
||||
<file>res/silentdragonxlite_be.qm</file>
|
||||
<file>res/silentdragonxlite_pl.qm</file>
|
||||
<file>res/silentdragonxlite_de.qm</file>
|
||||
<file>res/silentdragonxlite_es.qm</file>
|
||||
<file>res/silentdragonxlite_fa.qm</file>
|
||||
<file>res/silentdragonxlite_fr.qm</file>
|
||||
<file>res/silentdragonxlite_hr.qm</file>
|
||||
<file>res/silentdragonxlite_id.qm</file>
|
||||
<file>res/silentdragonxlite_it.qm</file>
|
||||
<file>res/silentdragonxlite_pt.qm</file>
|
||||
<file>res/silentdragonxlite_ro.qm</file>
|
||||
<file>res/silentdragonxlite_ru.qm</file>
|
||||
<file>res/silentdragonxlite_ud.qm</file>
|
||||
<file>res/silentdragonxlite_sr.qm</file>
|
||||
<file>res/silentdragonxlite_tr.qm</file>
|
||||
<file>res/silentdragonxlite_zh.qm</file>
|
||||
</qresource>
|
||||
<qresource prefix="/css">
|
||||
<file>res/css/Blue.css</file>
|
||||
|
||||
4
build.sh
@@ -44,8 +44,8 @@ if [ "$QT_SUB_VERSION" -lt "12" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Compiling SilentDragonLite $VERSION on $UNAME with QT $QTVERSION and args=$@"
|
||||
CONF=silentdragon-lite.pro
|
||||
echo "Compiling SilentDragonXLite $VERSION on $UNAME with QT $QTVERSION and args=$@"
|
||||
CONF=silentdragonx-lite.pro
|
||||
|
||||
set -e
|
||||
qbuild () {
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
silentdragonlite (2.0.1) stable; urgency=medium
|
||||
|
||||
* 2.0.1.1 release.
|
||||
|
||||
-- onryo <onryo@hush.land> Sat, 06 Jan 2024 10:20:30 +0200
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
Source: silentdragonlite
|
||||
Source: silentdragonxlite
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: onryo <onryo@hush.land>
|
||||
Standards-Version: 4.6.0
|
||||
Homepage: https://hush.is
|
||||
Vcs-Browser: https://git.hush.is/hush/SilentDragonLite
|
||||
Vcs-Git: https://git.hush.is/hush/SilentDragonLite.git
|
||||
Homepage: https://dragonx.is
|
||||
Vcs-Browser: https://git.hush.is/dragonx/SilentDragonXLite
|
||||
Vcs-Git: https://git.hush.is/dragonx/SilentDragonXLite.git
|
||||
|
||||
Package: silentdragonlite
|
||||
Package: silentdragonxlite
|
||||
Architecture: amd64 arm64
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: SilentDragonLite is a lightwallet for HUSH which does not require you to download the full blockchain.
|
||||
Description: SilentDragonXLite is a lightwallet for DRAGONX which does not require you to download the full blockchain.
|
||||
@@ -1,4 +1,4 @@
|
||||
# SilentDragonLite Release Process
|
||||
# SilentDragonXLite Release Process
|
||||
|
||||
## High-Level Philosophy
|
||||
|
||||
@@ -31,7 +31,7 @@ git push
|
||||
## Adding Checkpoints
|
||||
|
||||
Adding checkpoints make SDL sync much faster, especially for brand new wallets. If there are no recent checkpoints,
|
||||
when a user makes a new wallet, it will sync from a block far in the past, which wastes time, bandwidth and CPU resources. To add a checkpoint , they are added to the file `lib/src/lightclient/checkpoints.rs` in the silentdragonlite-cli repo, and then the dependency on silentdragonlite-cli is updated in this SDL repo. Here is an example commit that updates checkpoints:
|
||||
when a user makes a new wallet, it will sync from a block far in the past, which wastes time, bandwidth and CPU resources. To add a checkpoint , they are added to the file `lib/src/lightclient/checkpoints.rs` in the silentdragonxlite-cli repo, and then the dependency on silentdragonxlite-cli is updated in this SDL repo. Here is an example commit that updates checkpoints:
|
||||
|
||||
https://git.hush.is/hush/silentdragonlite-cli/commit/ef477f152e1a8bb8a5f7883a99e2a74a6f9eeb0b
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ assignees: ''
|
||||
|
||||
---
|
||||
|
||||
Please make sure you have the latest SilentDragonLite and let us
|
||||
Please make sure you have the latest SilentDragonXLite and let us
|
||||
know if you have any non-default settings.
|
||||
|
||||
**Describe the bug**
|
||||
|
||||
4
lib/Cargo.lock
generated
@@ -1334,7 +1334,7 @@ dependencies = [
|
||||
"blake3",
|
||||
"lazy_static",
|
||||
"libc",
|
||||
"silentdragonlitelib",
|
||||
"silentdragonxlitelib",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -1847,7 +1847,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "silentdragonlitelib"
|
||||
name = "silentdragonxlitelib"
|
||||
version = "0.1.0"
|
||||
source = "git+https://git.hush.is/dragonx/silentdragonxlite-cli?rev=7a3d6e13a5542da27c539c68ec0db5a86d662f3a#7a3d6e13a5542da27c539c68ec0db5a86d662f3a"
|
||||
dependencies = [
|
||||
|
||||
@@ -5,11 +5,11 @@ authors = ["zecwallet", "The Hush Developers"]
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "silentdragonlite"
|
||||
name = "silentdragonxlite"
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2.58"
|
||||
lazy_static = "1.4.0"
|
||||
blake3 = "0.3.4"
|
||||
silentdragonlitelib = { git = "https://git.hush.is/dragonx/silentdragonxlite-cli", rev = "7a3d6e13a5542da27c539c68ec0db5a86d662f3a" }
|
||||
silentdragonxlitelib = { git = "https://git.hush.is/dragonx/silentdragonxlite-cli", rev = "7a3d6e13a5542da27c539c68ec0db5a86d662f3a" }
|
||||
|
||||
12
lib/Makefile
@@ -10,18 +10,18 @@ PWD := $(shell pwd)
|
||||
|
||||
all: release
|
||||
|
||||
winrelease: target/x86_64-pc-windows-gnu/release/silentdragonlite.lib
|
||||
winrelease: target/x86_64-pc-windows-gnu/release/silentdragonxlite.lib
|
||||
|
||||
target/x86_64-pc-windows-gnu/release/silentdragonlite.lib: src/lib.rs Cargo.toml
|
||||
target/x86_64-pc-windows-gnu/release/silentdragonxlite.lib: src/lib.rs Cargo.toml
|
||||
SODIUM_LIB_DIR="$(PWD)/libsodium-mingw/" cargo build --lib --release --target x86_64-pc-windows-gnu
|
||||
|
||||
release: target/release/silentdragonlite.$(EXT)
|
||||
debug: target/debug/silentdragonlite.$(EXT)
|
||||
release: target/release/silentdragonxlite.$(EXT)
|
||||
debug: target/debug/silentdragonxlite.$(EXT)
|
||||
|
||||
target/release/silentdragonlite.$(EXT): src/lib.rs Cargo.toml
|
||||
target/release/silentdragonxlite.$(EXT): src/lib.rs Cargo.toml
|
||||
LIBS="" CFLAGS=$(CFLAGS) cargo build --lib --release
|
||||
|
||||
target/debug/silentdragonlite.$(EXT): src/lib.rs Cargo.toml
|
||||
target/debug/silentdragonxlite.$(EXT): src/lib.rs Cargo.toml
|
||||
LIBS="" CFLAGS=$(CFLAGS) cargo build --lib
|
||||
|
||||
clean:
|
||||
|
||||
@@ -8,7 +8,7 @@ use std::sync::{Mutex, Arc};
|
||||
use std::cell::RefCell;
|
||||
use std::ptr;
|
||||
|
||||
use silentdragonlitelib::{commands, lightclient::{LightClient, LightClientConfig}};
|
||||
use silentdragonxlitelib::{commands, lightclient::{LightClient, LightClientConfig}};
|
||||
|
||||
// We'll use a MUTEX to store a global lightclient instance,
|
||||
// so we don't have to keep creating it. We need to store it here, in rust
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>silentdragonlite</string>
|
||||
<string>silentdragonxlite</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>Created by Qt/QMake</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>logo.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.MyHush.SilentDragonLite</string>
|
||||
<string>is.dragonx.SilentDragonXLite</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
|
||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
@@ -1,13 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=SilentDragonLite
|
||||
Comment=Lightclient UI wallet for Hush
|
||||
GenericName=Wallet
|
||||
Exec=SilentDragonLite %u
|
||||
Icon=SilentDragonLite
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
StartupWMClass=SilentDragonLite
|
||||
Categories=Utility;
|
||||
MimeType=x-scheme-handler/hush;
|
||||
Keywords=SilentDragonLite;
|
||||
|
||||
|
Before Width: | Height: | Size: 406 KiB After Width: | Height: | Size: 406 KiB |
|
Before Width: | Height: | Size: 902 KiB After Width: | Height: | Size: 902 KiB |
|
Before Width: | Height: | Size: 1015 KiB After Width: | Height: | Size: 1015 KiB |
|
Before Width: | Height: | Size: 406 KiB After Width: | Height: | Size: 406 KiB |
13
res/silentdragonxlite.desktop
Normal file
@@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Name=SilentDragonXLite
|
||||
Comment=Lightclient UI wallet for DragonX
|
||||
GenericName=Wallet
|
||||
Exec=SilentDragonXLite %u
|
||||
Icon=SilentDragonXLite
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
StartupWMClass=SilentDragonXLite
|
||||
Categories=Utility;
|
||||
MimeType=x-scheme-handler/dragonx;
|
||||
Keywords=SilentDragonXLite;
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
<context>
|
||||
<name>ConnectionDialog</name>
|
||||
<message>
|
||||
<source>silentdragonlite</source>
|
||||
<source>silentdragonxlite</source>
|
||||
<translation type="vanished">silentdragon</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -94,7 +94,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/connection.ui" line="29"/>
|
||||
<source>SilentDragonLite</source>
|
||||
<source>SilentDragonXLite</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -294,7 +294,7 @@ p, li { white-space: pre-wrap; }
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<source>silentdragonlite</source>
|
||||
<source>silentdragonxlite</source>
|
||||
<translation type="vanished">silentdragon</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -892,7 +892,7 @@ p, li { white-space: pre-wrap; }
|
||||
<translation type="vanished">wallet.dat dosyasını yedekle</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Thanks for supporting silentdragonlite!</source>
|
||||
<source>Thanks for supporting silentdragonxlite!</source>
|
||||
<translation type="vanished">silentdragon'i desteklediğiniz için teşekkür ederiz!</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -900,7 +900,7 @@ p, li { white-space: pre-wrap; }
|
||||
<translation type="vanished">0.01 Bağış yap </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> to support silentdragonlite</source>
|
||||
<source> to support silentdragonxlite</source>
|
||||
<translatorcomment>0.01 Bağış yap yazısının devamı</translatorcomment>
|
||||
<translation type="vanished">ve silentdragon'i destekle</translation>
|
||||
</message>
|
||||
@@ -1733,11 +1733,11 @@ Note: Funds need 1 confirmations before they can be spent</source>
|
||||
<translation type="vanished">hushd bekleniyor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>You have hushd set to start as a daemon, which can cause problems with silentdragonlite
|
||||
<source>You have hushd set to start as a daemon, which can cause problems with silentdragonxlite
|
||||
|
||||
.Please remove the following line from your hush.conf and restart silentdragonlite
|
||||
.Please remove the following line from your hush.conf and restart silentdragonxlite
|
||||
daemon=1</source>
|
||||
<translation type="vanished">hushd, silentdragonlite ile sorunlara neden olan bir daemon olarak başlayacak şekilde ayarladınız.
|
||||
<translation type="vanished">hushd, silentdragonxlite ile sorunlara neden olan bir daemon olarak başlayacak şekilde ayarladınız.
|
||||
|
||||
.Lütfen aşağıdaki satırı hush.conf dosyanızdan kaldırın ve silentdragon'i yeniden başlatın
|
||||
daemon=1</translation>
|
||||
@@ -1783,7 +1783,7 @@ Not starting embedded hushd because --no-embedded was passed</source>
|
||||
|
||||
.Please remove the following line from your hush.conf and restart silentdragon
|
||||
daemon=1</source>
|
||||
<translation type="vanished">hushd'yi, silentdragonlite ile sorunlara neden olabilecek bir daemon olacak şekilde ayarladınız.
|
||||
<translation type="vanished">hushd'yi, silentdragonxlite ile sorunlara neden olabilecek bir daemon olacak şekilde ayarladınız.
|
||||
|
||||
.Lütfen aşağıdaki satırı hush.conf dosyanızdan kaldırın ve silentdragon'i yeniden başlatın
|
||||
daemon=1</translation>
|
||||
@@ -1975,7 +1975,7 @@ Yayınlanan sürümler sayfasını ziyaret etmek ister misiniz?</translation>
|
||||
<translation type="vanished"> tx hesaplanıyor. Bu birkaç dakika sürebilir.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please wait for silentdragonlite to exit</source>
|
||||
<source>Please wait for silentdragonxlite to exit</source>
|
||||
<translation type="vanished">Lütfen çıkmak için silentdragon'i bekleyin</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
# Copyright 2019-2024 The Hush Developers
|
||||
|
||||
./build.sh && ./SilentDragonLite
|
||||
./build.sh && ./SilentDragonXLite
|
||||
|
||||
@@ -110,7 +110,7 @@ HEADERS += \
|
||||
src/controller.h \
|
||||
src/liteinterface.h \
|
||||
src/camount.h \
|
||||
lib/silentdragonlitelib.h \
|
||||
lib/silentdragonxlitelib.h \
|
||||
src/chatbubbleme.h \
|
||||
src/chatbubblepartner.h \
|
||||
src/chatmodel.h \
|
||||
@@ -150,24 +150,24 @@ FORMS += \
|
||||
src/chatbubblepartner.ui
|
||||
|
||||
|
||||
TRANSLATIONS = res/silentdragonlite_ar.ts \
|
||||
res/silentdragonlite_be.ts \
|
||||
res/silentdragonlite_de.ts \
|
||||
res/silentdragonlite_es.ts \
|
||||
res/silentdragonlite_fa.ts \
|
||||
res/silentdragonlite_fr.ts \
|
||||
res/silentdragonlite_hr.ts \
|
||||
res/silentdragonlite_id.ts \
|
||||
res/silentdragonlite_it.ts \
|
||||
res/silentdragonlite_nl.ts \
|
||||
res/silentdragonlite_pt.ts \
|
||||
res/silentdragonlite_pl.ts \
|
||||
res/silentdragonlite_ro.ts \
|
||||
res/silentdragonlite_ru.ts \
|
||||
res/silentdragonlite_sr.ts \
|
||||
res/silentdragonlite_tr.ts \
|
||||
res/silentdragonlite_ud.ts \
|
||||
res/silentdragonlite_zh.ts
|
||||
TRANSLATIONS = res/silentdragonxlite_ar.ts \
|
||||
res/silentdragonxlite_be.ts \
|
||||
res/silentdragonxlite_de.ts \
|
||||
res/silentdragonxlite_es.ts \
|
||||
res/silentdragonxlite_fa.ts \
|
||||
res/silentdragonxlite_fr.ts \
|
||||
res/silentdragonxlite_hr.ts \
|
||||
res/silentdragonxlite_id.ts \
|
||||
res/silentdragonxlite_it.ts \
|
||||
res/silentdragonxlite_nl.ts \
|
||||
res/silentdragonxlite_pt.ts \
|
||||
res/silentdragonxlite_pl.ts \
|
||||
res/silentdragonxlite_ro.ts \
|
||||
res/silentdragonxlite_ru.ts \
|
||||
res/silentdragonxlite_sr.ts \
|
||||
res/silentdragonxlite_tr.ts \
|
||||
res/silentdragonxlite_ud.ts \
|
||||
res/silentdragonxlite_zh.ts
|
||||
|
||||
include(singleapplication/singleapplication.pri)
|
||||
DEFINES += QAPPLICATION_CLASS=QApplication _FORTIFY_SOURCE=2
|
||||
@@ -186,8 +186,8 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
libsodium.target = $$PWD/res/libsodium.a
|
||||
libsodium.commands = res/libsodium/buildlibsodium.sh "$@"
|
||||
|
||||
unix: librust.target = $$PWD/lib/target/release/libsilentdragonlite.a
|
||||
else:win32: librust.target = $$PWD/lib/target/x86_64-pc-windows-gnu/release/silentdragonlite.lib
|
||||
unix: librust.target = $$PWD/lib/target/release/libsilentdragonxlite.a
|
||||
else:win32: librust.target = $$PWD/lib/target/x86_64-pc-windows-gnu/release/silentdragonxlite.lib
|
||||
|
||||
unix: librust.commands = $(MAKE) -C $$PWD/lib
|
||||
else:win32: librust.commands = $(MAKE) -C $$PWD/lib winrelease
|
||||
@@ -199,14 +199,14 @@ distclean.depends += librustclean
|
||||
|
||||
|
||||
QMAKE_EXTRA_TARGETS += librust libsodium librustclean distclean
|
||||
QMAKE_CLEAN += $$PWD/lib/target/release/libsilentdragonlite.a res/libsodium.a
|
||||
QMAKE_CLEAN += $$PWD/lib/target/release/libsilentdragonxlite.a res/libsodium.a
|
||||
|
||||
win32: LIBS += -L$$PWD/lib/target/x86_64-pc-windows-gnu/release -lsilentdragonlite -L$$PWD/res/ -llibsodium -lsecur32 -lcrypt32 -lncrypt
|
||||
else:macx: LIBS += -L$$PWD/lib/target/release -lsilentdragonlite -framework Security -framework Foundation -L$$PWD/res/ -lsodium
|
||||
else:unix: LIBS += -L$$PWD/lib/target/release -lsilentdragonlite -ldl -L$$PWD/res/ -lsodium
|
||||
win32: LIBS += -L$$PWD/lib/target/x86_64-pc-windows-gnu/release -lsilentdragonxlite -L$$PWD/res/ -llibsodium -lsecur32 -lcrypt32 -lncrypt
|
||||
else:macx: LIBS += -L$$PWD/lib/target/release -lsilentdragonxlite -framework Security -framework Foundation -L$$PWD/res/ -lsodium
|
||||
else:unix: LIBS += -L$$PWD/lib/target/release -lsilentdragonxlite -ldl -L$$PWD/res/ -lsodium
|
||||
|
||||
win32: PRE_TARGETDEPS += $$PWD/lib/target/x86_64-pc-windows-gnu/release/silentdragonlite.lib $$PWD/res/libsodium.a
|
||||
else:unix::PRE_TARGETDEPS += $$PWD/lib/target/release/libsilentdragonlite.a $$PWD/res/libsodium.a
|
||||
win32: PRE_TARGETDEPS += $$PWD/lib/target/x86_64-pc-windows-gnu/release/silentdragonxlite.lib $$PWD/res/libsodium.a
|
||||
else:unix::PRE_TARGETDEPS += $$PWD/lib/target/release/libsilentdragonxlite.a $$PWD/res/libsodium.a
|
||||
|
||||
INCLUDEPATH += $$PWD/res
|
||||
DEPENDPATH += $$PWD/res
|
||||
@@ -867,8 +867,8 @@ void MainWindow::ContactRequest() {
|
||||
auto d = new QDialog(this);
|
||||
auto connD = new Ui_ConnectionDialog();
|
||||
connD->setupUi(d);
|
||||
QMovie *movie1 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");
|
||||
QMovie *movie2 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");
|
||||
QMovie *movie1 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");
|
||||
QMovie *movie2 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");
|
||||
auto theme = Settings::getInstance()->get_theme_name();
|
||||
if (theme == "Dark" || theme == "Midnight") {
|
||||
movie2->setScaledSize(QSize(512,512));
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "firsttimewizard.h"
|
||||
#include "ui_createhushconfdialog.h"
|
||||
#include "controller.h"
|
||||
#include "../lib/silentdragonlitelib.h"
|
||||
#include "../lib/silentdragonxlitelib.h"
|
||||
#include "precompiled.h"
|
||||
#include <QThreadPool>
|
||||
#include "sdl.h"
|
||||
@@ -15,13 +15,13 @@
|
||||
using json = nlohmann::json;
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
auto dirwalletconnection = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletconnection = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
#endif
|
||||
#ifdef Q_OS_MACOS
|
||||
auto dirwalletconnection = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletconnection = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
#endif
|
||||
#ifdef Q_OS_LINUX
|
||||
auto dirwalletconnection = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletconnection = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
#endif
|
||||
|
||||
ConnectionLoader::ConnectionLoader(MainWindow* main, Controller* rpc)
|
||||
@@ -38,13 +38,13 @@ ConnectionLoader::ConnectionLoader(MainWindow* main, Controller* rpc)
|
||||
auto size = QSize(512,512);
|
||||
|
||||
if (theme == "Dark" || theme == "Midnight") {
|
||||
QMovie *movie2 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");;
|
||||
QMovie *movie2 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");;
|
||||
movie2->setScaledSize(size);
|
||||
qDebug() << "Animation dark loaded";
|
||||
connD->topIcon->setMovie(movie2);
|
||||
movie2->start();
|
||||
} else {
|
||||
QMovie *movie1 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");;
|
||||
QMovie *movie1 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");;
|
||||
movie1->setScaledSize(size);
|
||||
qDebug() << "Animation light loaded";
|
||||
connD->topIcon->setMovie(movie1);
|
||||
|
||||
@@ -1580,7 +1580,7 @@ void Controller::checkForUpdate(bool silent)
|
||||
if (!zrpc->haveConnection())
|
||||
return noConnection();
|
||||
|
||||
QUrl giteaURL("https://git.hush.is/repos/hush/SilentDragonLite/releases");
|
||||
QUrl giteaURL("https://git.hush.is/repos/dragonx/SilentDragonXLite/releases");
|
||||
|
||||
QNetworkRequest req;
|
||||
req.setUrl(giteaURL);
|
||||
@@ -1634,7 +1634,7 @@ void Controller::checkForUpdate(bool silent)
|
||||
QMessageBox::Yes, QMessageBox::Cancel);
|
||||
if (ans == QMessageBox::Yes)
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("https://git.hush.is/hush/SilentDragonLite/releases"));
|
||||
QDesktopServices::openUrl(QUrl("https://git.hush.is/dragonx/SilentDragonXLite/releases"));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2033,20 +2033,20 @@ void Controller::shutdownhushd()
|
||||
auto size = QSize(512,512);
|
||||
|
||||
if (theme == "Dark" || theme == "Midnight") {
|
||||
QMovie *movie2 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");;
|
||||
QMovie *movie2 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");;
|
||||
movie2->setScaledSize(size);
|
||||
qDebug() << "Animation dark loaded";
|
||||
connD.topIcon->setMovie(movie2);
|
||||
movie2->start();
|
||||
connD.status->setText(QObject::tr("Please wait for SilentDragonLite to exit"));
|
||||
connD.status->setText(QObject::tr("Please wait for SilentDragonXLite to exit"));
|
||||
connD.statusDetail->setText(QObject::tr("It may take several minutes"));
|
||||
} else {
|
||||
QMovie *movie1 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");;
|
||||
QMovie *movie1 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");;
|
||||
movie1->setScaledSize(size);
|
||||
qDebug() << "Animation light loaded";
|
||||
connD.topIcon->setMovie(movie1);
|
||||
movie1->start();
|
||||
connD.status->setText(QObject::tr("Please wait for SilentDragonLite to exit"));
|
||||
connD.status->setText(QObject::tr("Please wait for SilentDragonXLite to exit"));
|
||||
connD.statusDetail->setText(QObject::tr("It may take several minutes"));
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:16pt;">Please use the following hush address to transfer funds to SilentDragonLite. You can either copy the address or use the QR Code. </span></p></body></html></string>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:16pt;">Please use the following hush address to transfer funds to SilentDragonXLite. You can either copy the address or use the QR Code. </span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -7,22 +7,22 @@
|
||||
#include "ui_newwallet.h"
|
||||
#include "mainwindow.h"
|
||||
#include "DataStore/DataStore.h"
|
||||
#include "../lib/silentdragonlitelib.h"
|
||||
#include "../lib/silentdragonxlitelib.h"
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
auto dirwalletfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletencfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet-enc.dat");
|
||||
auto dirwalletbackupfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.datBackup");
|
||||
auto dirwalletfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
auto dirwalletencfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet-enc.dat");
|
||||
auto dirwalletbackupfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.datBackup");
|
||||
#endif
|
||||
#ifdef Q_OS_MACOS
|
||||
auto dirwalletfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletencfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet-enc.dat");
|
||||
auto dirwalletbackupfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.datBackup");
|
||||
auto dirwalletfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
auto dirwalletencfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet-enc.dat");
|
||||
auto dirwalletbackupfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.datBackup");
|
||||
#endif
|
||||
#ifdef Q_OS_LINUX
|
||||
auto dirwalletfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletencfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet-enc.dat");
|
||||
auto dirwalletbackupfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet.datBackup");
|
||||
auto dirwalletfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
auto dirwalletencfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonxlite/silentdragonxlite-wallet-enc.dat");
|
||||
auto dirwalletbackupfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonxlite/silentdragonxlite-wallet.datBackup");
|
||||
#endif
|
||||
|
||||
void FirstTimeWizard::slot_change_theme(const QString& theme_name) {
|
||||
@@ -707,7 +707,7 @@ bool RestoreSeedPage::validatePage() {
|
||||
qDebug() << __func__ << ": seed length=" << seedLength;
|
||||
if (seedLength != 24) {
|
||||
QMessageBox::warning(this, tr("Failed to restore wallet"),
|
||||
tr("SilentDragonLite needs 24 words to restore wallet"),
|
||||
tr("SilentDragonXLite needs 24 words to restore wallet"),
|
||||
QMessageBox::Ok);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -168,14 +168,14 @@ public:
|
||||
}
|
||||
|
||||
QCoreApplication::setOrganizationName("Hush");
|
||||
QCoreApplication::setApplicationName("SilentDragonLite");
|
||||
QCoreApplication::setApplicationName("SilentDragonXLite");
|
||||
|
||||
QString locale = QLocale::system().name();
|
||||
locale.truncate(locale.lastIndexOf('_')); // Get the language code
|
||||
qDebug() << "Loading locale " << locale;
|
||||
|
||||
QTranslator translator;
|
||||
translator.load(QString(":/translations/res/silentdragonlite_") + locale);
|
||||
translator.load(QString(":/translations/res/silentdragonxlite_") + locale);
|
||||
a.installTranslator(&translator);
|
||||
|
||||
QIcon icon(":/icons/res/icon.ico");
|
||||
@@ -208,7 +208,7 @@ public:
|
||||
|
||||
|
||||
w = new MainWindow();
|
||||
w->setWindowTitle("SilentDragonLite v" + QString(APP_VERSION));
|
||||
w->setWindowTitle("SilentDragonXLite v" + QString(APP_VERSION));
|
||||
|
||||
// If there was a payment URI on the command line, pay it
|
||||
if (parser.positionalArguments().length() > 0) {
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "Crypto/FileEncryption.h"
|
||||
#include "DataStore/DataStore.h"
|
||||
#include "firsttimewizard.h"
|
||||
#include "../lib/silentdragonlitelib.h"
|
||||
#include "../lib/silentdragonxlitelib.h"
|
||||
#include <QCoreApplication>
|
||||
#include <QGuiApplication>
|
||||
#include <QKeyEvent>
|
||||
@@ -42,19 +42,19 @@
|
||||
using json = nlohmann::json;
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
auto dirwallet = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletenc = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet-enc.dat");
|
||||
auto dirwalletbackup = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.datBackup");
|
||||
auto dirwallet = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
auto dirwalletenc = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet-enc.dat");
|
||||
auto dirwalletbackup = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.datBackup");
|
||||
#endif
|
||||
#ifdef Q_OS_MACOS
|
||||
auto dirwallet = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletenc = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet-enc.dat");
|
||||
auto dirwalletbackup = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite/silentdragonlite-wallet.datBackup");
|
||||
auto dirwallet = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
auto dirwalletenc = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet-enc.dat");
|
||||
auto dirwalletbackup = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite/silentdragonxlite-wallet.datBackup");
|
||||
#endif
|
||||
#ifdef Q_OS_LINUX
|
||||
auto dirwallet = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet.dat");
|
||||
auto dirwalletenc = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet-enc.dat");
|
||||
auto dirwalletbackup = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet.datBackup");
|
||||
auto dirwallet = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonxlite/silentdragonxlite-wallet.dat");
|
||||
auto dirwalletenc = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonxlite/silentdragonxlite-wallet-enc.dat");
|
||||
auto dirwalletbackup = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonxlite/silentdragonxlite-wallet.datBackup");
|
||||
#endif
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) :
|
||||
@@ -84,7 +84,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
QDir().mkpath(dir.absolutePath());
|
||||
}else{}
|
||||
|
||||
logger = new Logger(this, QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite-wallet.log"));
|
||||
logger = new Logger(this, QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonxlite-wallet.log"));
|
||||
|
||||
// Check for encryption
|
||||
if(fileExists(dirwalletenc))
|
||||
@@ -184,7 +184,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
QString seed = restoreSeed.seed->toPlainText();
|
||||
if (seed.trimmed().split(" ").length() != 24) {
|
||||
QMessageBox::warning(this, tr("Failed to restore wallet"),
|
||||
tr("SilentDragonLite needs 24 words to restore wallet"),
|
||||
tr("SilentDragonXLite needs 24 words to restore wallet"),
|
||||
QMessageBox::Ok);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
</palette>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>SilentDragonLite</string>
|
||||
<string>SilentDragonXLite</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="../application.qrc">
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Product Id="*" Name="SilentDragonLite vRELEASE_VERSION" Language="1033" Version="RELEASE_VERSION" Manufacturer="silentdragonlite-org" UpgradeCode="fb9bf166-b55f-46b5-a990-9189bdf64533">
|
||||
<Product Id="*" Name="SilentDragonXLite vRELEASE_VERSION" Language="1033" Version="RELEASE_VERSION" Manufacturer="silentdragonxlite-org" UpgradeCode="fb9bf166-b55f-46b5-a990-9189bdf64533">
|
||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
||||
|
||||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||
<MediaTemplate EmbedCab="yes"/>
|
||||
|
||||
<Icon Id="SilentDragonLite.exe" SourceFile="res/icon.ico"/>
|
||||
<Property Id="ARPPRODUCTICON" Value="SilentDragonLite.exe" />
|
||||
<Icon Id="SilentDragonXLite.exe" SourceFile="res/icon.ico"/>
|
||||
<Property Id="ARPPRODUCTICON" Value="SilentDragonXLite.exe" />
|
||||
|
||||
<Feature Id="ProductFeature" Title="silentdragonlite" Level="1">
|
||||
<Feature Id="ProductFeature" Title="silentdragonxlite" Level="1">
|
||||
<ComponentGroupRef Id="ProductComponents" />
|
||||
<ComponentRef Id="ProgramMenuDir"/>
|
||||
</Feature>
|
||||
@@ -37,13 +37,13 @@
|
||||
<Fragment>
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
<Directory Id="INSTALLFOLDER" Name="silentdragonlite" />
|
||||
<Directory Id="INSTALLFOLDER" Name="silentdragonxlite" />
|
||||
</Directory>
|
||||
<Directory Id="ProgramMenuFolder" Name="Programs">
|
||||
<Directory Id="ApplicationProgramsFolder" Name="silentdragonlite">
|
||||
<Directory Id="ApplicationProgramsFolder" Name="silentdragonxlite">
|
||||
<Component Id="ProgramMenuDir" Guid="0D560F5A-53E0-4E7E-ADDA-15A26995505E">
|
||||
<RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
|
||||
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\silentdragonlite\WixSetup"
|
||||
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\silentdragonxlite\WixSetup"
|
||||
Type="integer" Value="1" Name="installed" KeyPath="yes" />
|
||||
</Component>
|
||||
</Directory>
|
||||
@@ -55,9 +55,9 @@
|
||||
<Fragment>
|
||||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
||||
<Component Id="ProductComponent" Guid="0D210F5A-53E0-4E7E-CAAD-15A26995505E">
|
||||
<File Source="SilentDragonLite.exe" KeyPath="yes">
|
||||
<File Source="SilentDragonXLite.exe" KeyPath="yes">
|
||||
<Shortcut Id="startMenuShotcut" Advertise="yes" Directory="ApplicationProgramsFolder"
|
||||
Name="SilentDragonLite" WorkingDirectory="INSTALLFOLDER" Icon="SilentDragonLite.exe" >
|
||||
Name="SilentDragonXLite" WorkingDirectory="INSTALLFOLDER" Icon="SilentDragonXLite.exe" >
|
||||
</Shortcut>
|
||||
</File>
|
||||
<File Source="LICENSE" />
|
||||
@@ -66,10 +66,10 @@
|
||||
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
|
||||
<RegistryValue Type="string" Value="URL:hush URI protocol"/>
|
||||
<RegistryKey Key="DefaultIcon">
|
||||
<RegistryValue Type="string" Value="SilentDragonLite.exe" />
|
||||
<RegistryValue Type="string" Value="SilentDragonXLite.exe" />
|
||||
</RegistryKey>
|
||||
<RegistryKey Key="shell\open\command">
|
||||
<RegistryValue Type="string" Value=""[INSTALLFOLDER]SilentDragonLite.exe" "%1"" />
|
||||
<RegistryValue Type="string" Value=""[INSTALLFOLDER]SilentDragonXLite.exe" "%1"" />
|
||||
</RegistryKey>
|
||||
</RegistryKey>
|
||||
</Component>
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
Package: SilentDragonLite
|
||||
Package: SilentDragonXLite
|
||||
Version: RELEASE_VERSION
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: DenioD <admin@hush-lightwallet.de>
|
||||
Description: Silentdragonlite is a Lightwallet for hush. It comes with
|
||||
full support for transparent and shielded addresses.
|
||||
Description: SilentDragonXLite is a Lightwallet for Dragonx.
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Name=SilentDragonLite
|
||||
Comment=Lightclient UI wallet for Hush
|
||||
Name=SilentDragonXLite
|
||||
Comment=Lightclient UI wallet for DragonX
|
||||
GenericName=Wallet
|
||||
Exec=/usr/local/bin/SilentDragonLite %u
|
||||
Icon=SilentDragonLite.xpm
|
||||
Exec=/usr/local/bin/SilentDragonXLite %u
|
||||
Icon=SilentDragonXLite.xpm
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
StartupWMClass=SilentDragonLite
|
||||
StartupWMClass=SilentDragonXLite
|
||||
Categories=Utility;
|
||||
MimeType=x-scheme-handler/hush;
|
||||
Keywords=SilentDragonLite;
|
||||
MimeType=x-scheme-handler/dragonx;
|
||||
Keywords=SilentDragonXLite;
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ param (
|
||||
)
|
||||
|
||||
Write-Host "[Initializing]"
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/linux-binaries-silentdragonlite-v$version.tar.gz
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/linux-deb-silentdragonlite-v$version.deb
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/Windows-binaries-silentdragonlite-v$version.zip
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/Windows-installer-silentdragonlite-v$version.msi
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/macOS-silentdragonlite-v$version.dmg
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/linux-binaries-silentdragonxlite-v$version.tar.gz
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/linux-deb-silentdragonxlite-v$version.deb
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/Windows-binaries-silentdragonxlite-v$version.zip
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/Windows-installer-silentdragonxlite-v$version.msi
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/macOS-silentdragonxlite-v$version.dmg
|
||||
|
||||
Remove-Item -Recurse -Force -ErrorAction Ignore ./bin
|
||||
Remove-Item -Recurse -Force -ErrorAction Ignore ./debug
|
||||
@@ -26,7 +26,7 @@ Write-Host "[Building Linux + Windows]"
|
||||
Write-Host -NoNewline "Copying files.........."
|
||||
ssh $server "rm -rf /tmp/zqwbuild"
|
||||
ssh $server "mkdir /tmp/zqwbuild"
|
||||
scp -r src/ res/ ./silentdragonlite.pro ./application.qrc ./LICENSE ./README.md ${server}:/tmp/zqwbuild/ | Out-Null
|
||||
scp -r src/ res/ ./silentdragonxlite.pro ./application.qrc ./LICENSE ./README.md ${server}:/tmp/zqwbuild/ | Out-Null
|
||||
ssh $server "dos2unix -q /tmp/zqwbuild/src/scripts/mkrelease.sh" | Out-Null
|
||||
ssh $server "dos2unix -q /tmp/zqwbuild/src/version.h"
|
||||
Write-Host "[OK]"
|
||||
@@ -51,10 +51,10 @@ Write-Host "[OK]"
|
||||
|
||||
# Finally, test to make sure all files exist
|
||||
Write-Host -NoNewline "Checking Build........."
|
||||
if (! (Test-Path ./artifacts/linux-binaries-silentdragonlite-v$version.tar.gz) -or
|
||||
! (Test-Path ./artifacts/linux-deb-silentdragonlite-v$version.deb) -or
|
||||
! (Test-Path ./artifacts/Windows-binaries-silentdragonlite-v$version.zip) -or
|
||||
! (Test-Path ./artifacts/Windows-installer-silentdragonlite-v$version.msi) ) {
|
||||
if (! (Test-Path ./artifacts/linux-binaries-silentdragonxlite-v$version.tar.gz) -or
|
||||
! (Test-Path ./artifacts/linux-deb-silentdragonxlite-v$version.deb) -or
|
||||
! (Test-Path ./artifacts/Windows-binaries-silentdragonxlite-v$version.zip) -or
|
||||
! (Test-Path ./artifacts/Windows-installer-silentdragonxlite-v$version.msi) ) {
|
||||
Write-Host "[Error]"
|
||||
exit 1;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ $QT_STATIC/bin/lrelease silentdragon-lite.pro
|
||||
# Then update the qt base translations. First, get all languages
|
||||
ls res/*.qm | awk -F '[_.]' '{print $4}' | while read -r language ; do
|
||||
if [ -f $QT_STATIC/translations/qtbase_$language.qm ]; then
|
||||
$QT_STATIC/bin/lconvert -o res/zec_$language.qm $QT_STATIC/translations/qtbase_$language.qm res/silentdragonlite_$language.qm
|
||||
mv res/zec_$language.qm res/silentdragonlite_$language.qm
|
||||
$QT_STATIC/bin/lconvert -o res/zec_$language.qm $QT_STATIC/translations/qtbase_$language.qm res/silentdragonxlite_$language.qm
|
||||
mv res/zec_$language.qm res/silentdragonxlite_$language.qm
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -8,11 +8,11 @@ param (
|
||||
)
|
||||
|
||||
Write-Host "[Initializing]"
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/linux-binaries-SilentDragonLite-v$version.tar.gz
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/linux-deb-SilentDragonLite-v$version.deb
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/Windows-binaries-SilentDragonLite-v$version.zip
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/Windows-installer-SilentDragonLite-v$version.msi
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/macOS-SilentDragonLite-v$version.dmg
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/linux-binaries-SilentDragonXLite-v$version.tar.gz
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/linux-deb-SilentDragonXLite-v$version.deb
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/Windows-binaries-SilentDragonXLite-v$version.zip
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/Windows-installer-SilentDragonXLite-v$version.msi
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/macOS-SilentDragonXLite-v$version.dmg
|
||||
Remove-Item -Force -ErrorAction Ignore ./artifacts/signatures-v$version.tar.gz
|
||||
|
||||
|
||||
@@ -89,11 +89,11 @@ Write-Host "[OK]"
|
||||
|
||||
# Finally, test to make sure all files exist
|
||||
Write-Host -NoNewline "Checking Build........."
|
||||
if (! (Test-Path ./artifacts/linux-binaries-SilentDragonLite-v$version.tar.gz) -or
|
||||
! (Test-Path ./artifacts/linux-deb-SilentDragonLite-v$version.deb) -or
|
||||
! (Test-Path ./artifacts/Windows-binaries-SilentDragonLite-v$version.zip) -or
|
||||
! (Test-Path ./artifacts/macOS-SilentDragonLite-v$version.dmg) -or
|
||||
! (Test-Path ./artifacts/Windows-installer-SilentDragonLite-v$version.msi) ) {
|
||||
if (! (Test-Path ./artifacts/linux-binaries-SilentDragonXLite-v$version.tar.gz) -or
|
||||
! (Test-Path ./artifacts/linux-deb-SilentDragonXLite-v$version.deb) -or
|
||||
! (Test-Path ./artifacts/Windows-binaries-SilentDragonXLite-v$version.zip) -or
|
||||
! (Test-Path ./artifacts/macOS-SilentDragonXLite-v$version.dmg) -or
|
||||
! (Test-Path ./artifacts/Windows-installer-SilentDragonXLite-v$version.msi) ) {
|
||||
Write-Host "[Error]"
|
||||
exit 1;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ export PATH=$PATH:/usr/local/bin
|
||||
#Clean
|
||||
echo -n "Cleaning..............."
|
||||
make distclean >/dev/null 2>&1
|
||||
rm -f artifacts/macOS-SilentDragonLite-v$APP_VERSION.dmg
|
||||
rm -f artifacts/macOS-SilentDragonXLite-v$APP_VERSION.dmg
|
||||
echo "[OK]"
|
||||
|
||||
|
||||
@@ -93,18 +93,18 @@ echo "[OK]"
|
||||
#Qt deploy
|
||||
echo -n "Deploying.............."
|
||||
mkdir artifacts >/dev/null 2>&1
|
||||
rm -f artifcats/SilentDragonLite.dmg >/dev/null 2>&1
|
||||
rm -f artifcats/SilentDragonXLite.dmg >/dev/null 2>&1
|
||||
rm -f artifacts/rw* >/dev/null 2>&1
|
||||
$QT_PATH/bin/macdeployqt SilentDragonLite.app
|
||||
codesign --deep --force --verify --verbose -s "$CERTIFICATE" --options runtime --timestamp SilentDragonLite.app
|
||||
$QT_PATH/bin/macdeployqt SilentDragonXLite.app
|
||||
codesign --deep --force --verify --verbose -s "$CERTIFICATE" --options runtime --timestamp SilentDragonXLite.app
|
||||
echo "[OK]"
|
||||
|
||||
|
||||
echo -n "Building dmg..........."
|
||||
mv SilentDragonLite.app SilentDragonLite.app
|
||||
create-dmg --volname "SilentDragonLite-v$APP_VERSION" --volicon "res/logo.icns" --window-pos 200 120 --icon "SilentDragonLite.app" 200 190 --icon-size 100 --app-drop-link 600 185 --hide-extension "SilentDragonLite.app" --window-size 800 400 --hdiutil-quiet --background res/dmgbg.png artifacts/macOS-SilentDragonLite-v$APP_VERSION.dmg SilentDragonLite.app >/dev/null 2>&1
|
||||
mv SilentDragonXLite.app SilentDragonXLite.app
|
||||
create-dmg --volname "SilentDragonXLite-v$APP_VERSION" --volicon "res/logo.icns" --window-pos 200 120 --icon "SilentDragonXLite.app" 200 190 --icon-size 100 --app-drop-link 600 185 --hide-extension "SilentDragonXLite.app" --window-size 800 400 --hdiutil-quiet --background res/dmgbg.png artifacts/macOS-SilentDragonXLite-v$APP_VERSION.dmg SilentDragonXLite.app >/dev/null 2>&1
|
||||
|
||||
if [ ! -f artifacts/macOS-SilentDragonLite-v$APP_VERSION.dmg ]; then
|
||||
if [ ! -f artifacts/macOS-SilentDragonXLite-v$APP_VERSION.dmg ]; then
|
||||
echo "[ERROR]"
|
||||
exit 1
|
||||
fi
|
||||
@@ -112,5 +112,5 @@ echo "[OK]"
|
||||
|
||||
# Submit to Apple for notarization
|
||||
echo -n "Apple notarization....."
|
||||
xcrun altool --notarize-app -t osx -f artifacts/macOS-SilentDragonLite-v$APP_VERSION.dmg --primary-bundle-id="com.MyHush.SilentDragonLite" -u "$APPLE_USERNAME" -p "$APPLE_PASSWORD"
|
||||
xcrun altool --notarize-app -t osx -f artifacts/macOS-SilentDragonXLite-v$APP_VERSION.dmg --primary-bundle-id="com.MyHush.SilentDragonXLite" -u "$APPLE_USERNAME" -p "$APPLE_PASSWORD"
|
||||
echo "[OK]"
|
||||
|
||||
@@ -31,7 +31,7 @@ echo "[OK]"
|
||||
|
||||
|
||||
echo -n "Building..............."
|
||||
rm -rf bin/SilentDragonLite* > /dev/null
|
||||
rm -rf bin/SilentDragonXLite* > /dev/null
|
||||
# Build the lib first
|
||||
cd lib && make release && cd ..
|
||||
make -j$(nproc) > /dev/null
|
||||
@@ -49,7 +49,7 @@ echo "[OK]"
|
||||
|
||||
# Test for Qt
|
||||
echo -n "Static link............"
|
||||
if [[ $(ldd SilentDragonLite | grep -i "Qt") ]]; then
|
||||
if [[ $(ldd SilentDragonXLite | grep -i "Qt") ]]; then
|
||||
echo "FOUND QT; ABORT";
|
||||
exit 1
|
||||
fi
|
||||
@@ -57,25 +57,25 @@ echo "[OK]"
|
||||
|
||||
|
||||
echo -n "Packaging.............."
|
||||
mkdir bin/SilentDragonLite-v$APP_VERSION > /dev/null
|
||||
strip SilentDragonLite
|
||||
mkdir bin/SilentDragonXLite-v$APP_VERSION > /dev/null
|
||||
strip SilentDragonXLite
|
||||
|
||||
cp SilentDragonLite bin/SilentDragonLite-v$APP_VERSION > /dev/null
|
||||
cp README.md bin/SilentDragonLite-v$APP_VERSION > /dev/null
|
||||
cp LICENSE bin/SilentDragonLite-v$APP_VERSION > /dev/null
|
||||
cp SilentDragonXLite bin/SilentDragonXLite-v$APP_VERSION > /dev/null
|
||||
cp README.md bin/SilentDragonXLite-v$APP_VERSION > /dev/null
|
||||
cp LICENSE bin/SilentDragonXLite-v$APP_VERSION > /dev/null
|
||||
|
||||
cd bin && tar czf linux-SilentDragonLite-v$APP_VERSION.tar.gz SilentDragonLite-v$APP_VERSION/ > /dev/null
|
||||
cd bin && tar czf linux-SilentDragonXLite-v$APP_VERSION.tar.gz SilentDragonXLite-v$APP_VERSION/ > /dev/null
|
||||
cd ..
|
||||
|
||||
mkdir artifacts >/dev/null 2>&1
|
||||
cp bin/linux-SilentDragonLite-v$APP_VERSION.tar.gz ./artifacts/linux-binaries-SilentDragonLite-v$APP_VERSION.tar.gz
|
||||
cp bin/linux-SilentDragonXLite-v$APP_VERSION.tar.gz ./artifacts/linux-binaries-SilentDragonXLite-v$APP_VERSION.tar.gz
|
||||
echo "[OK]"
|
||||
|
||||
|
||||
if [ -f artifacts/linux-binaries-SilentDragonLite-v$APP_VERSION.tar.gz ] ; then
|
||||
if [ -f artifacts/linux-binaries-SilentDragonXLite-v$APP_VERSION.tar.gz ] ; then
|
||||
echo -n "Package contents......."
|
||||
# Test if the package is built OK
|
||||
if tar tf "artifacts/linux-binaries-SilentDragonLite-v$APP_VERSION.tar.gz" | wc -l | grep -q "4"; then
|
||||
if tar tf "artifacts/linux-binaries-SilentDragonXLite-v$APP_VERSION.tar.gz" | wc -l | grep -q "4"; then
|
||||
echo "[OK]"
|
||||
else
|
||||
echo "[ERROR]"
|
||||
@@ -87,23 +87,23 @@ else
|
||||
fi
|
||||
|
||||
echo -n "Building deb..........."
|
||||
debdir=bin/deb/SilentDragonLite-v$APP_VERSION
|
||||
debdir=bin/deb/SilentDragonXLite-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 SilentDragonLite $debdir/usr/local/bin/
|
||||
cp SilentDragonXLite $debdir/usr/local/bin/
|
||||
|
||||
mkdir -p $debdir/usr/share/pixmaps/
|
||||
cp res/SilentDragonLite.xpm $debdir/usr/share/pixmaps/
|
||||
cp res/SilentDragonXLite.xpm $debdir/usr/share/pixmaps/
|
||||
|
||||
mkdir -p $debdir/usr/share/applications
|
||||
cp src/scripts/desktopentry $debdir/usr/share/applications/SilentDragonLite.desktop
|
||||
cp src/scripts/desktopentry $debdir/usr/share/applications/SilentDragonXLite.desktop
|
||||
|
||||
dpkg-deb --build $debdir >/dev/null
|
||||
cp $debdir.deb artifacts/linux-deb-SilentDragonLite-v$APP_VERSION.deb
|
||||
cp $debdir.deb artifacts/linux-deb-SilentDragonXLite-v$APP_VERSION.deb
|
||||
echo "[OK]"
|
||||
|
||||
|
||||
@@ -121,11 +121,11 @@ export PATH=$MXE_PATH:$PATH
|
||||
|
||||
echo -n "Configuring............"
|
||||
make clean > /dev/null
|
||||
#rm -f SilentDragonLite-mingw.pro
|
||||
#rm -f SilentDragonXLite-mingw.pro
|
||||
rm -rf release/
|
||||
cp src/precompiled.h release/
|
||||
#Mingw seems to have trouble with precompiled headers, so strip that option from the .pro file
|
||||
#cat silentdragon-lite.pro | sed "s/precompile_header/release/g" | sed "s/PRECOMPILED_HEADER.*//g" > SilentDragonLite-mingw.pro
|
||||
#cat silentdragon-lite.pro | sed "s/precompile_header/release/g" | sed "s/PRECOMPILED_HEADER.*//g" > SilentDragonXLite-mingw.pro
|
||||
echo "[OK]"
|
||||
|
||||
|
||||
@@ -141,20 +141,20 @@ echo "[OK]"
|
||||
|
||||
|
||||
echo -n "Packaging.............."
|
||||
mkdir release/SilentDragonLite-v$APP_VERSION
|
||||
cp release/SilentDragonLite.exe release/SilentDragonLite-v$APP_VERSION
|
||||
cp README.md release/SilentDragonLite-v$APP_VERSION
|
||||
cp LICENSE release/SilentDragonLite-v$APP_VERSION
|
||||
cd release && zip -r Windows-binaries-SilentDragonLite-v$APP_VERSION.zip SilentDragonLite-v$APP_VERSION/ > /dev/null
|
||||
mkdir release/SilentDragonXLite-v$APP_VERSION
|
||||
cp release/SilentDragonXLite.exe release/SilentDragonXLite-v$APP_VERSION
|
||||
cp README.md release/SilentDragonXLite-v$APP_VERSION
|
||||
cp LICENSE release/SilentDragonXLite-v$APP_VERSION
|
||||
cd release && zip -r Windows-binaries-SilentDragonXLite-v$APP_VERSION.zip SilentDragonXLite-v$APP_VERSION/ > /dev/null
|
||||
cd ..
|
||||
|
||||
mkdir artifacts >/dev/null 2>&1
|
||||
cp release/Windows-binaries-SilentDragonLite-v$APP_VERSION.zip ./artifacts/
|
||||
cp release/Windows-binaries-SilentDragonXLite-v$APP_VERSION.zip ./artifacts/
|
||||
echo "[OK]"
|
||||
|
||||
if [ -f artifacts/Windows-binaries-SilentDragonLite-v$APP_VERSION.zip ] ; then
|
||||
if [ -f artifacts/Windows-binaries-SilentDragonXLite-v$APP_VERSION.zip ] ; then
|
||||
echo -n "Package contents......."
|
||||
if unzip -l "artifacts/Windows-binaries-SilentDragonLite-v$APP_VERSION.zip" | wc -l | grep -q "9"; then
|
||||
if unzip -l "artifacts/Windows-binaries-SilentDragonXLite-v$APP_VERSION.zip" | wc -l | grep -q "9"; then
|
||||
echo "[OK]"
|
||||
else
|
||||
echo "[ERROR]"
|
||||
|
||||
@@ -2,25 +2,25 @@ param (
|
||||
[Parameter(Mandatory=$true)][string]$version
|
||||
)
|
||||
|
||||
$target="SilentDragonLite-v$version"
|
||||
$target="SilentDragonXLite-v$version"
|
||||
|
||||
Remove-Item -Path release/wininstaller -Recurse -ErrorAction Ignore | Out-Null
|
||||
New-Item release/wininstaller -itemtype directory | Out-Null
|
||||
|
||||
Copy-Item release/$target/SilentDragonLite.exe release/wininstaller/
|
||||
Copy-Item release/$target/SilentDragonXLite.exe release/wininstaller/
|
||||
Copy-Item release/$target/LICENSE release/wininstaller/
|
||||
|
||||
Get-Content src/scripts/silentdragonlite.wxs | ForEach-Object { $_ -replace "RELEASE_VERSION", "$version" } | Out-File -Encoding utf8 release/wininstaller/silentdragonlite.wxs
|
||||
Get-Content src/scripts/silentdragonxlite.wxs | ForEach-Object { $_ -replace "RELEASE_VERSION", "$version" } | Out-File -Encoding utf8 release/wininstaller/silentdragonxlite.wxs
|
||||
|
||||
candle.exe release/wininstaller/silentdragonlite.wxs -o release/wininstaller/silentdragonlite.wixobj
|
||||
candle.exe release/wininstaller/silentdragonxlite.wxs -o release/wininstaller/silentdragonxlite.wixobj
|
||||
if (!$?) {
|
||||
exit 1;
|
||||
}
|
||||
|
||||
light.exe -ext WixUIExtension -cultures:en-us release/wininstaller/SilentDragonLite.wixobj -out release/wininstaller/SilentDragonLite.msi
|
||||
light.exe -ext WixUIExtension -cultures:en-us release/wininstaller/SilentDragonXLite.wixobj -out release/wininstaller/SilentDragonXLite.msi
|
||||
if (!$?) {
|
||||
exit 1;
|
||||
}
|
||||
|
||||
New-Item artifacts -itemtype directory -Force | Out-Null
|
||||
Copy-Item release/wininstaller/SilentDragonLite.msi ./artifacts/Windows-installer-$target.msi
|
||||
Copy-Item release/wininstaller/SilentDragonXLite.msi ./artifacts/Windows-installer-$target.msi
|
||||
|
||||
@@ -27,7 +27,7 @@ rm -rf release/signatures
|
||||
mkdir -p release/signatures
|
||||
|
||||
# Staple the notarization
|
||||
xcrun stapler staple artifacts/macOS-SilentDragonLite-v$APP_VERSION.dmg
|
||||
xcrun stapler staple artifacts/macOS-SilentDragonXLite-v$APP_VERSION.dmg
|
||||
|
||||
cd artifacts
|
||||
|
||||
@@ -38,7 +38,7 @@ rm -f signatures-v$APP_VERSION.tar.gz
|
||||
# sha256sum the binaries
|
||||
sha256sum *$APP_VERSION* > sha256sum-v$APP_VERSION.txt
|
||||
|
||||
for i in $( ls *SilentDragonLite-v$APP_VERSION* sha256sum-v$APP_VERSION* ); do
|
||||
for i in $( ls *SilentDragonXLite-v$APP_VERSION* sha256sum-v$APP_VERSION* ); do
|
||||
echo "Signing" $i
|
||||
gpg --batch --output ../release/signatures/$i.sig --detach-sig $i
|
||||
done
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -n AR: ;grep unfinished silentdragonlite_ar.ts | wc -l
|
||||
echo -n BE: ;grep unfinished silentdragonlite_be.ts | wc -l
|
||||
echo -n DE: ;grep unfinished silentdragonlite_de.ts | wc -l
|
||||
echo -n ES: ;grep unfinished silentdragonlite_es.ts | wc -l
|
||||
echo -n FA: ;grep unfinished silentdragonlite_fa.ts | wc -l
|
||||
echo -n FR: ;grep unfinished silentdragonlite_fr.ts | wc -l
|
||||
echo -n HR: ;grep unfinished silentdragonlite_hr.ts | wc -l
|
||||
echo -n ID: ;grep unfinished silentdragonlite_id.ts | wc -l
|
||||
echo -n IT: ;grep unfinished silentdragonlite_it.ts | wc -l
|
||||
echo -n NL: ;grep unfinished silentdragonlite_nl.ts | wc -l
|
||||
echo -n PT: ;grep unfinished silentdragonlite_pt.ts | wc -l
|
||||
echo -n RO: ;grep unfinished silentdragonlite_ro.ts | wc -l
|
||||
echo -n RU: ;grep unfinished silentdragonlite_ru.ts | wc -l
|
||||
echo -n SR: ;grep unfinished silentdragonlite_sr.ts | wc -l
|
||||
echo -n TR: ;grep unfinished silentdragonlite_tr.ts | wc -l
|
||||
echo -n UD: ;grep unfinished silentdragonlite_ud.ts | wc -l
|
||||
echo -n ZH: ;grep unfinished silentdragonlite_zh.ts | wc -l
|
||||
echo -n AR: ;grep unfinished silentdragonxlite_ar.ts | wc -l
|
||||
echo -n BE: ;grep unfinished silentdragonxlite_be.ts | wc -l
|
||||
echo -n DE: ;grep unfinished silentdragonxlite_de.ts | wc -l
|
||||
echo -n ES: ;grep unfinished silentdragonxlite_es.ts | wc -l
|
||||
echo -n FA: ;grep unfinished silentdragonxlite_fa.ts | wc -l
|
||||
echo -n FR: ;grep unfinished silentdragonxlite_fr.ts | wc -l
|
||||
echo -n HR: ;grep unfinished silentdragonxlite_hr.ts | wc -l
|
||||
echo -n ID: ;grep unfinished silentdragonxlite_id.ts | wc -l
|
||||
echo -n IT: ;grep unfinished silentdragonxlite_it.ts | wc -l
|
||||
echo -n NL: ;grep unfinished silentdragonxlite_nl.ts | wc -l
|
||||
echo -n PT: ;grep unfinished silentdragonxlite_pt.ts | wc -l
|
||||
echo -n RO: ;grep unfinished silentdragonxlite_ro.ts | wc -l
|
||||
echo -n RU: ;grep unfinished silentdragonxlite_ru.ts | wc -l
|
||||
echo -n SR: ;grep unfinished silentdragonxlite_sr.ts | wc -l
|
||||
echo -n TR: ;grep unfinished silentdragonxlite_tr.ts | wc -l
|
||||
echo -n UD: ;grep unfinished silentdragonxlite_ud.ts | wc -l
|
||||
echo -n ZH: ;grep unfinished silentdragonxlite_zh.ts | wc -l
|
||||
|
||||
@@ -861,8 +861,8 @@ void MainWindow::sendButton() {
|
||||
auto d = new QDialog(this);
|
||||
auto connD = new Ui_ConnectionDialog();
|
||||
connD->setupUi(d);
|
||||
QMovie *movie1 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");;
|
||||
QMovie *movie2 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");;
|
||||
QMovie *movie1 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");;
|
||||
QMovie *movie2 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");;
|
||||
auto theme = Settings::getInstance()->get_theme_name();
|
||||
if (theme == "Dark" || theme == "Midnight") {
|
||||
movie2->setScaledSize(QSize(512,512));
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "mainwindow.h"
|
||||
#include "settings.h"
|
||||
#include "camount.h"
|
||||
#include "../lib/silentdragonlitelib.h"
|
||||
#include "../lib/silentdragonxlitelib.h"
|
||||
#include <QUrlQuery>
|
||||
|
||||
Settings* Settings::instance = nullptr;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=SilentDragonLite
|
||||
Name=SilentDragonXLite
|
||||
Comment=Lite wallet for HUSH cryptocurrency
|
||||
Exec=/home/user/SilentDragonLite/SilentDragonLite
|
||||
Icon=/home/user/SilentDragonLite/res/SDLogo.png
|
||||
Exec=/home/user/SilentDragonXLite/SilentDragonXLite
|
||||
Icon=/home/user/SilentDragonXLite/res/SDLogo.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
# Copyright 2019-2024 The Hush Developers
|
||||
|
||||
username=$(id -un)
|
||||
sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop
|
||||
cp SilentDragonLite.desktop ~/.local/share/applications
|
||||
sed -i "s|\/home\/.*\/SilentDragonXLite\/|\/home\/$username\/SilentDragonXLite\/|g" SilentDragonXLite.desktop
|
||||
cp SilentDragonXLite.desktop ~/.local/share/applications
|
||||
|
||||
@@ -5,6 +5,6 @@ cd ../ && ./build.sh linguist && ./build.sh
|
||||
|
||||
username=$(id -un)
|
||||
|
||||
cd util/ && sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop
|
||||
cd util/ && sed -i "s|\/home\/.*\/SilentDragonXLite\/|\/home\/$username\/SilentDragonXLite\/|g" SilentDragonXLite.desktop
|
||||
|
||||
cp SilentDragonLite.desktop ~/.local/share/applications
|
||||
cp SilentDragonXLite.desktop ~/.local/share/applications
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Copyright 2019-2024 The Hush Developers
|
||||
|
||||
VERSION=$(cat src/version.h |cut -d\" -f2)
|
||||
echo "Compiling SilentDragonLite $VERSION .exe with $JOBS threads..."
|
||||
echo "Compiling SilentDragonXLite $VERSION .exe with $JOBS threads..."
|
||||
CONF=silentdragon-lite.pro
|
||||
|
||||
set -e
|
||||
|
||||