Revert "updates to flatpak installer"

This reverts commit a4223a6aab.
This commit is contained in:
woodser 2024-10-13 11:24:29 -04:00
parent 7ab0aac802
commit 5b9f205658
4 changed files with 8 additions and 10 deletions

View file

@ -8,12 +8,11 @@ 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 libfuse2 flatpak flatpak-builder appstream` 2. `sudo apt install -y rpm fuse flatpak flatpak-builder`
3. `flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo` 1. `./gradlew clean build --refresh-keys --refresh-dependencies` (or `make clean && skip-tests` after refreshed)
4. `./gradlew clean build --refresh-keys --refresh-dependencies` (or `make clean && skip-tests` after refreshed) 2. `./gradlew packageInstallers`
5. `./gradlew packageInstallers` 3. Confirm prompts.
6. Confirm prompts. 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.
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://github.com/haveno-dex/haveno/blob/master/desktop/package/linux/preview.png</image> <image>https://files.catbox.moe/8pahgg.png</image>
<caption>Recent Trades page</caption> <caption>Recent Trades page</caption>
</screenshot> </screenshot>
</screenshots> </screenshots>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 630 KiB

View file

@ -415,8 +415,7 @@ 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')