feat(docs): flatpak

This commit is contained in:
Binarybaron 2025-06-27 22:10:33 +02:00
parent 1cdb1dba80
commit e2d7638ce1
3 changed files with 29 additions and 3 deletions

View file

@ -1,3 +1,5 @@
#!/bin/bash
# UnstoppableSwap Flatpak Build and Deploy Script
# Usage: ./flatpak-build.sh [--push] [--branch BRANCH] [--no-gpg]
# Example: ./flatpak-build.sh --push --branch gh-pages

View file

@ -9,7 +9,7 @@ Unless you know what you're doing, you probably want to use the precompiled bina
Precompiled binaries of the _GUI_ are available for most platforms. Simply download the appropriate binary for your system and follow the instructions.
<Tabs items={['Windows', 'macOS (Silicon)', 'macOS (Intel)', 'Linux (x86_64)', 'Linux (arm64)']}>
<Tabs items={['Windows', 'macOS (Silicon)', 'macOS (Intel)', 'Linux (x86_64)', 'Linux (arm64)', 'Flatpak']}>
<Tabs.Tab>
1. Download the latest release from GitHub [here](https://github.com/UnstoppableSwap/core/releases/download/1.0.0-rc.4/UnstoppableSwap_1.0.0-rc.4_x64-setup.exe)
2. Open the downloaded `.exe` installer
@ -40,6 +40,29 @@ Precompiled binaries of the _GUI_ are available for most platforms. Simply downl
<Tabs.Tab>
Due to limitations with our CI pipeline, we currently can't provide precompiled binaries for arm64 linux systems.
</Tabs.Tab>
<Tabs.Tab>
For Linux systems with Flatpak support, you can install UnstoppableSwap directly from our Flatpak repository:
```bash filename="install.sh"
# Add the UnstoppableSwap repository
flatpak remote-add --user unstoppableswap https://unstoppableswap.github.io/core/unstoppableswap.flatpakrepo
# Install the application
flatpak install unstoppableswap net.unstoppableswap.gui
# Run the application
flatpak run net.unstoppableswap.gui
```
**Requirements:**
- Flatpak 1.0 or newer
- x86_64 architecture
**Updates:**
```bash
flatpak update net.unstoppableswap.gui
```
</Tabs.Tab>
</Tabs>
## Building from source

View file

@ -77,9 +77,10 @@
<pre><code># Add the repository
flatpak remote-add --if-not-exists unstoppableswap https://flatpak.unstoppableswap.net/unstoppableswap.flatpakrepo
# Install the application
# Install
flatpak install unstoppableswap net.unstoppableswap.gui
# Run it
# Run
flatpak run net.unstoppableswap.gui
</code></pre>
<h2>Run it</h2>