31963ef45a
commit d2fa610aea7b906748386eb87e104b374a2a2da2 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:30:59 2024 +0000 Add files via upload Add new logo commit aa897c3b884faa1beb1748b76f0047458e0b5402 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:30:32 2024 +0000 Delete scripts/install_tails/assets/icon.png Delete old logo commit 8a521623c071d203c9808937ae56a2241752db28 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:29:20 2024 +0000 Add files via upload Upload new logos commit 385cdad89804e608869a4a6df8dcd7c0535b7a21 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:28:14 2024 +0000 Delete desktop/package/linux/icon.png Delete old icons commit 83f04abe3a191e4aa200d84ad27badb379f973dc Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:27:58 2024 +0000 Delete desktop/package/linux/haveno.png Delete old icons commit 4b4aea33e82f733f60c37f85ffb00ab6195199e3 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:27:46 2024 +0000 Delete desktop/package/linux/haveno.svg Delete old icon commit 02d482ddb9e00e7dce12b128d174edc2e02d94a3 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:26:24 2024 +0000 Add files via upload Upload new icons commit 69a09d6b89358f95041cdff9d3580de9dade4d3a Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:25:47 2024 +0000 Delete desktop/package/macosx/Haveno.icns Remove old icons commit 04868a334a53a8afbc2cb5ffb7aacc946ec2cd52 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:25:30 2024 +0000 Delete desktop/package/macosx/Haveno-volume.icns Remove old icon commit 1ef9839e6d976a174c98924f7c9655ef31a5d113 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:24:48 2024 +0000 Add files via upload Upload new icon commit bf0a1e2af56a64e840a68631c20d36ae24099c0f Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 16:23:48 2024 +0000 Delete desktop/package/windows/Haveno.ico Remove old icons commit 27e9448391532a5a1b0fac8ae09abb7efcbea88d Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:54:20 2024 +0000 Delete desktop/src/main/resources/images/task_bar_icon_windows@2x.png delete unused logo commit e95f99d2b63fd09c0b698d67e527f367d8cbe03d Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:54:06 2024 +0000 Delete desktop/src/main/resources/images/task_bar_icon_linux@2x.png delete unused logo commit 65df7bdf9882eefea60fdff8674c876c700ba223 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:46:47 2024 +0000 Add files via upload Upload new logos commit 0578aa20c4f324daef286db2e01fa50569f463ee Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:45:47 2024 +0000 Delete desktop/src/main/resources/images/window_icon@2x.png delete old logo commit ce6c8dc7c7d777d28ba20cf05c9867a7c3cf2f21 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:45:37 2024 +0000 Delete desktop/src/main/resources/images/window_icon.png delete old logo commit 10159f99cc7f2ea9a420bd8a9346a415d108d142 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:45:23 2024 +0000 Delete desktop/src/main/resources/images/task_bar_icon_windows.png delete old logo commit 76be63934f684b344e668ffbfd01aa7a9a34af1d Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:45:13 2024 +0000 Delete desktop/src/main/resources/images/task_bar_icon_linux.png delete old logo commit 03dcd76ed7c8c0c9be9aca5db8e1dc5f58a88118 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:44:57 2024 +0000 Delete desktop/src/main/resources/images/system_tray_icon_windows@2x.png delete old logo commit 9d81459eba09c0716208ef163a9c6ca9c3844b69 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:44:46 2024 +0000 Delete desktop/src/main/resources/images/system_tray_icon_windows.png delete old logo commit 8bc3a0937f59aafd571f83095bdf22765f694038 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:44:35 2024 +0000 Delete desktop/src/main/resources/images/system_tray_icon_white.png delete old logo commit f15a319027121ad7f139089f1d732de90e97a7b4 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:44:23 2024 +0000 Delete desktop/src/main/resources/images/system_tray_icon_linux.png delete old logo commit 96c32eed0eee84cadff42894ff2925c3d6aeb0dd Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:44:12 2024 +0000 Delete desktop/src/main/resources/images/system_tray_icon@2x_white.png delete old logo commit a5965f1ea4cd2b5bbb194df541c6b253ed00a626 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:44:00 2024 +0000 Delete desktop/src/main/resources/images/system_tray_icon@2x.png delete old logo commit 1df762dcb4624641928c85ecb813e1813f259076 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:43:46 2024 +0000 Delete desktop/src/main/resources/images/system_tray_icon.png delete old logo commit 90ee95f38c1d64565d48dcbeca618c71743c5c33 Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:43:35 2024 +0000 Delete desktop/src/main/resources/images/logo_splash_testnet@2x.png delete old logo commit 0c7f5c138237494823842787f676f883685a5ffe Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:43:25 2024 +0000 Delete desktop/src/main/resources/images/logo_splash_testnet.png delete old logo commit b654322aa84c232b2e4cad480ee423a044c338ba Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:43:11 2024 +0000 Delete desktop/src/main/resources/images/logo_splash@2x.png delete old logo commit ddd88f25bef7f5030c70cb1e8001627eb6110b1d Author: XMRZombie <monerozombie@proton.me> Date: Fri Nov 22 13:42:54 2024 +0000 Delete desktop/src/main/resources/images/logo_splash.png delete old logo commit |
||
---|---|---|
.. | ||
linux | ||
macosx | ||
windows | ||
5BC5ED73.asc | ||
29CDFD3B.asc | ||
F379A1C6.asc | ||
Haveno.zip | ||
package.gradle | ||
README.md | ||
signingkey.asc | ||
tools-1.0.jar |
Follow these instructions to create installers for the Haveno Java desktop application on each platform.
Note
These steps will delete the previously built Haveno binaries, so they'll need rebuilt after.
Linux
From x86_64 machine:
sudo apt-get update
sudo apt install -y rpm libfuse2 flatpak flatpak-builder appstream
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
./gradlew clean build --refresh-keys --refresh-dependencies
(ormake clean && skip-tests
after refreshed)./gradlew packageInstallers
- Confirm prompts.
- Path to installer is printed at the end. Execute to install, e.g.:
sudo dpkg -i <path>.deb
or open<path>.deb
with Software Install.
Note: Please see flatpak.md for information on distributing Haveno via Flatpak.
Haveno data folder on Linux: /home/<username>/.local/share/Haveno/
macOS
From x86_64 machine:
./gradlew clean build --refresh-keys --refresh-dependencies
(ormake clean && skip-tests
after refreshed)./gradlew packageInstallers
- Confirm prompts.
- Path to installer printed at end.
open <path>
- Open installer and drag Haveno.app to Applications.
sudo xattr -rd com.apple.quarantine /Applications/Haveno.app
- Right click /Applications/Haveno.app > Open. Repeat again if necessary, despite being "damaged".
Haveno data folder on Mac: /Users/<username>/Library/Application Support/Haveno/
Windows
- Enable .NET Framework 3.5:
- Open the Control Panel on your Windows system.
- Click on "Programs and Features" or "Uninstall a Program."
- On the left-hand side, click on "Turn Windows features on or off."
- In the "Windows Features" dialog box, scroll down and find the ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" option.
- Check the box next to it to select it.
- Click "OK" to save the changes and exit the dialog box.
- Windows will download and install the required files and components to enable the .NET Framework 3.5. This may take several minutes, depending on your internet connection speed and system configuration.
- Once the installation is complete, you will need to restart your computer to apply the changes.
- Install Wix Toolset 3: https://github.com/wixtoolset/wix3/releases/tag/wix314rtm
- Open MSYS2 for the following commands.
export PATH=$PATH:$JAVA_HOME/bin:"C:\Program Files (x86)\WiX Toolset v3.14\bin"
./gradlew clean build --refresh-keys --refresh-dependencies
(ormake clean && skip-tests
after refreshed)./gradlew packageInstallers
- Confirm prompts.
- Path to installer is printed at the end. Execute to install.
Haveno data folder on Windows: ~\AppData\Roaming\Haveno\
Copying installer and rebuilding Haveno binaries
- Copy the installer to a safe location because it will be deleted in the next step.
make clean && make
(ormake clean && make skip-tests
) to rebuild Haveno apps.
Additional Notes
Icons
Icons (Haveno.zip) were obtained from https://github.com/haveno-dex/haveno-meta/issues/1#issuecomment-819741689.
Building for Linux
The linux package requires the correct packaging tools installed. You may run into the following errors:
Error: Invalid or unsupported type: [deb]
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/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 haveno.tools.DeterministicBuildTool.main(DeterministicBuildTool.java:24)
This may happen if the source folder is on a different hard drive than the system tmp
folder. The tools-1.0.jar calls renameTo to rename the deterministic jar back to the fat jar location. You can temporarily change your temp directory on linux:
export _JAVA_OPTIONS="-Djava.io.tmpdir=/storage/tmp"
Building for macOS
Svg was converted into a 1024x1024 pixel PNG using https://webkul.github.io/myscale/, then converted to icns for macosx here https://cloudconvert.com/png-to-icns
Known Issues
Signing is not implemented.
Building for Windows
Pngs were resized and pasted into the WixUi images using paint. CloudConvert was used to convert the Haveno png icon to ico.
Known Issues
The installer's final step "Launch Haveno" has a different background color. The setup executable does not have an icon.