updates to flatpak installer
Some checks failed
CI / build (macos-13) (push) Has been cancelled
CI / build (ubuntu-22.04) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
Codacy Coverage Reporter / Publish coverage (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled

This commit is contained in:
woodser 2024-10-08 13:36:28 -04:00
parent 662eaee7c3
commit a4223a6aab
4 changed files with 10 additions and 8 deletions

View file

@ -8,11 +8,12 @@ Follow these instructions to create installers for the Haveno Java desktop appli
From x86_64 machine: From x86_64 machine:
1. `sudo apt-get update` 1. `sudo apt-get update`
2. `sudo apt install -y rpm fuse flatpak flatpak-builder` 2. `sudo apt install -y rpm libfuse2 flatpak flatpak-builder appstream`
1. `./gradlew clean build --refresh-keys --refresh-dependencies` (or `make clean && skip-tests` after refreshed) 3. `flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo`
2. `./gradlew packageInstallers` 4. `./gradlew clean build --refresh-keys --refresh-dependencies` (or `make clean && skip-tests` after refreshed)
3. Confirm prompts. 5. `./gradlew packageInstallers`
4. 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. 6. Confirm prompts.
7. 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](../../docs/flatpak.md) for information on Note: Please see [flatpak.md](../../docs/flatpak.md) for information on
distributing Haveno via Flatpak. distributing Haveno via Flatpak.

View file

@ -44,7 +44,7 @@
</description> </description>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image>https://files.catbox.moe/8pahgg.png</image> <image>https://github.com/haveno-dex/haveno/blob/master/desktop/package/linux/preview.png</image>
<caption>Recent Trades page</caption> <caption>Recent Trades page</caption>
</screenshot> </screenshot>
</screenshots> </screenshots>

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 KiB

View file

@ -415,7 +415,8 @@ task packageInstallers {
} else { } else {
throw new GradleException("DEFAULT_APP_NAME not found in HavenoExecutable.java") throw new GradleException("DEFAULT_APP_NAME not found in HavenoExecutable.java")
} }
// copy the manifest to a new tmp one in the same place
// Copy the manifest to a new tmp one in the same place
// and add a --filesystem=.local/share/${name} to the flatpak manifest // and add a --filesystem=.local/share/${name} to the flatpak manifest
def manifest = file(flatpakManifestFile) def manifest = file(flatpakManifestFile)
def newManifest = file('exchange.haveno.Haveno.yaml') def newManifest = file('exchange.haveno.Haveno.yaml')