Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/workflows/flatpak-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,9 @@ jobs:
- name: Build Flatpak Bundle
run: ant create-flatpak

- name: Copy Install Instructions into dist/
run: cp pkg/flatpak/INSTALL.md dist/INSTALL.md

- name: Upload Flatpak Bundle
uses: actions/upload-artifact@v4
with:
name: jdiskmark-${{ steps.version.outputs.value }}.flatpak
path: |
dist/*.flatpak
dist/INSTALL.md
path: dist/*.flatpak

43 changes: 36 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# JDiskMark v0.6.4 beta (Windows/Mac/Linux)
# JDiskMark v0.7.0 beta (Windows/Mac/Linux)

Java Disk Benchmark Utility

Expand Down Expand Up @@ -43,15 +43,44 @@ Note: the `rpm.version` is similar to the `version` but replaces hyphens with pe
### Flatpak Installer (.flatpak)

The flatpak installer is a universal linux package that can be used on many distributions.
Some gaming-oriented distros such as Bazzite or SteamOS have Flatpak and Flathub
pre-configured.

To install download the `jdiskmark-<version>.flatpak` file and run:
`flatpak install --user ./jdiskmark-<version>.flatpak`
#### 1. Add Flathub (if not already configured)

To run:
`flatpak run net.jdiskmark.JDiskMark`
```sh
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```

#### 2. Install the required runtime

JDiskMark depends on the `org.freedesktop.Platform 25.08` runtime. Install it from Flathub:

```sh
flatpak install --user flathub org.freedesktop.Platform//25.08
```

#### 3. Install JDiskMark

To remove:
`flatpak uninstall net.jdiskmark.JDiskMark`
Download the `jdiskmark-<version>.flatpak` bundle and run:

```sh
flatpak install --user ./jdiskmark-<version>.flatpak
```

#### 4. Run

Launch JDiskMark from your application menu or the terminal:

```sh
flatpak run net.jdiskmark.JDiskMark
```

#### 5. Uninstall

```sh
flatpak uninstall net.jdiskmark.JDiskMark
```

### Zip Archive (.zip)

Expand Down
50 changes: 0 additions & 50 deletions pkg/flatpak/INSTALL.md

This file was deleted.

Loading