mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-09-25 19:11:04 -04:00
rename all packages and other names from bisq to haveno
This commit is contained in:
parent
ab0b9e3b77
commit
1a1fb130c0
1775 changed files with 14575 additions and 16767 deletions
|
@ -20,10 +20,10 @@ Error: Invalid or unsupported type: [rpm]
|
|||
On Ubuntu, resolve by running `sudo apt install rpm`. For deb, ensure dpkg is installed.
|
||||
|
||||
```
|
||||
Exception in thread "main" java.io.IOException: Failed to rename /tmp/Bisq-stripped15820156885694375398.tmp to /storage/src/haveno/desktop/build/libs/fatJar/desktop-1.0.0-SNAPSHOT-all.jar
|
||||
at bisq.tools.Utils.renameFile(Utils.java:36)
|
||||
Exception in thread "main" java.io.IOException: Failed to rename /tmp/Haveno-stripped15820156885694375398.tmp to /storage/src/haveno/desktop/build/libs/fatJar/desktop-1.0.0-SNAPSHOT-all.jar
|
||||
at haveno.tools.Utils.renameFile(Utils.java:36)
|
||||
at io.github.zlika.reproducible.StipZipFile.strip(StipZipFile.java:35)
|
||||
at bisq.tools.DeterministicBuildTool.main(DeterministicBuildTool.java:24)
|
||||
at haveno.tools.DeterministicBuildTool.main(DeterministicBuildTool.java:24)
|
||||
|
||||
```
|
||||
|
||||
|
|
|
@ -15,6 +15,6 @@ apt-get install -y vim fakeroot
|
|||
|
||||
|
||||
COPY 64bitBuild.sh /root
|
||||
COPY bisq-$version.jar /root
|
||||
COPY haveno-$version.jar /root
|
||||
# cd to the Dex directory and execute the jar.
|
||||
#CMD cd ~/Dex && java -jar Dex.jar
|
||||
|
|
|
@ -4,13 +4,13 @@ cd $(dirname $0)/../../../
|
|||
|
||||
version="0.0.1"
|
||||
|
||||
# Set BISQ_DIR as environment var to the path of your locally synced Bisq data directory e.g. BISQ_DIR=~/Library/Application\ Support/Bisq
|
||||
# Set HAVENO_DIR as environment var to the path of your locally synced Haveno data directory e.g. HAVENO_DIR=~/Library/Application\ Support/Haveno
|
||||
|
||||
dbDir=$BISQ_DIR/btc_mainnet/db
|
||||
dbDir=$HAVENO_DIR/btc_mainnet/db
|
||||
resDir=p2p/src/main/resources
|
||||
|
||||
# Only commit new TradeStatistics3Store if you plan to add it to
|
||||
# https://github.com/bisq-network/bisq/blob/0345c795e2c227d827a1f239a323dda1250f4e69/common/src/main/java/bisq/common/app/Version.java#L40 as well.
|
||||
# https://github.com/bisq-network/bisq/blob/0345c795e2c227d827a1f239a323dda1250f4e69/common/src/main/java/haveno/common/app/Version.java#L40 as well.
|
||||
cp "$dbDir/TradeStatistics3Store" "$resDir/TradeStatistics3Store_${version}_BTC_MAINNET"
|
||||
cp "$dbDir/AccountAgeWitnessStore" "$resDir/AccountAgeWitnessStore_${version}_BTC_MAINNET"
|
||||
cp "$dbDir/DaoStateStore" "$resDir/DaoStateStore_BTC_MAINNET"
|
||||
|
|
|
@ -6,10 +6,10 @@ version="0.0.1-SNAPSHOT"
|
|||
|
||||
target_dir="releases/$version"
|
||||
|
||||
# Set BISQ_GPG_USER as environment var to the email address used for gpg signing. e.g. BISQ_GPG_USER=manfred@bitsquare.io
|
||||
# Set BISQ_VM_PATH as environment var to the directory where your shared folders for virtual box are residing
|
||||
# Set HAVENO_GPG_USER as environment var to the email address used for gpg signing. e.g. HAVENO_GPG_USER=manfred@bitsquare.io
|
||||
# Set HAVENO_VM_PATH as environment var to the directory where your shared folders for virtual box are residing
|
||||
|
||||
vmPath=$BISQ_VM_PATH
|
||||
vmPath=$HAVENO_VM_PATH
|
||||
linux64=$vmPath/vm_shared_ubuntu
|
||||
win64=$vmPath/vm_shared_windows
|
||||
macos=$vmPath/vm_shared_macosx
|
||||
|
@ -29,19 +29,19 @@ cp "$target_dir/../../package/29CDFD3B.asc" "$target_dir/"
|
|||
# signing key
|
||||
cp "$target_dir/../../package/signingkey.asc" "$target_dir/"
|
||||
|
||||
dmg="Bisq-$version.dmg"
|
||||
dmg="Haveno-$version.dmg"
|
||||
cp "$macos/$dmg" "$target_dir/"
|
||||
|
||||
deb="bisq_$version-1_amd64.deb"
|
||||
deb64="Bisq-64bit-$version.deb"
|
||||
deb="haveno_$version-1_amd64.deb"
|
||||
deb64="Haveno-64bit-$version.deb"
|
||||
cp "$linux64/$deb" "$target_dir/$deb64"
|
||||
|
||||
rpm="bisq-$version-1.x86_64.rpm"
|
||||
rpm64="Bisq-64bit-$version.rpm"
|
||||
rpm="haveno-$version-1.x86_64.rpm"
|
||||
rpm64="Haveno-64bit-$version.rpm"
|
||||
cp "$linux64/$rpm" "$target_dir/$rpm64"
|
||||
|
||||
exe="Bisq-$version.exe"
|
||||
exe64="Bisq-64bit-$version.exe"
|
||||
exe="Haveno-$version.exe"
|
||||
exe64="Haveno-64bit-$version.exe"
|
||||
cp "$win64/$exe" "$target_dir/$exe64"
|
||||
|
||||
rpi="jar-lib-for-raspberry-pi-$version.zip"
|
||||
|
@ -50,11 +50,11 @@ cp "$deployDir/$rpi" "$target_dir/"
|
|||
cd "$target_dir"
|
||||
|
||||
echo Create signatures
|
||||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $dmg.asc --detach-sig --armor $dmg
|
||||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $deb64.asc --detach-sig --armor $deb64
|
||||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $rpm64.asc --detach-sig --armor $rpm64
|
||||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $exe64.asc --detach-sig --armor $exe64
|
||||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $rpi.asc --detach-sig --armor $rpi
|
||||
gpg --digest-algo SHA256 --local-user $HAVENO_GPG_USER --output $dmg.asc --detach-sig --armor $dmg
|
||||
gpg --digest-algo SHA256 --local-user $HAVENO_GPG_USER --output $deb64.asc --detach-sig --armor $deb64
|
||||
gpg --digest-algo SHA256 --local-user $HAVENO_GPG_USER --output $rpm64.asc --detach-sig --armor $rpm64
|
||||
gpg --digest-algo SHA256 --local-user $HAVENO_GPG_USER --output $exe64.asc --detach-sig --armor $exe64
|
||||
gpg --digest-algo SHA256 --local-user $HAVENO_GPG_USER --output $rpi.asc --detach-sig --armor $rpi
|
||||
|
||||
echo Verify signatures
|
||||
gpg --digest-algo SHA256 --verify $dmg{.asc*,}
|
||||
|
|
|
@ -244,7 +244,7 @@ task packageInstallers {
|
|||
|
||||
// Options for creating the application launcher
|
||||
" --main-jar ${mainJarName}" +
|
||||
" --main-class bisq.desktop.app.HavenoAppMain" +
|
||||
" --main-class haveno.desktop.app.HavenoAppMain" +
|
||||
" --java-options -Xss1280k" +
|
||||
" --java-options -XX:MaxRAM=4g" +
|
||||
" --java-options -Djava.net.preferIPv4Stack=true" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue