Skip to content

Commit

Permalink
add flatpak readme
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Apr 17, 2024
1 parent ad6d3b1 commit 174dbfc
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions packaging/flatpak/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Install dependencies:
```
flatpak --user install org.freedesktop.Sdk/x86_64/23.08
flatpak --user install org.freedesktop.Sdk.Compat.i386/x86_64/23.08
flatpak --user install org.freedesktop.Sdk.Extension.toolchain-i386/x86_64/23.08
```

# Build:
```
flatpak-builder umu-launcher org.openwinecomponents.umu.launcher.yml
flatpak-builder --repo=umu-repo --force-clean umu-launcher org.openwinecomponents.umu.launcher.yml
```

# Install:
```
flatpak --user remote-add --no-gpg-verify umu-repo umu-repo
flatpak --user install umu-repo org.openwinecomponents.umu.launcher
```

# Build + install without repo (for testing):
```
flatpak-builder umu-launcher org.openwinecomponents.umu.launcher.yml --install --user --force-clean
```

# Usage examples:

# winecfg:
```
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.launcher winecfg
```

# running a game using the default latest UMU-Proton:
```
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.launcher winecfg /path/to/some/game.exe
```

# running a game using the latest GE-Proton:
```
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.launcher --env=PROTONPATH=GE-Proton /path/to/some/game.exe
```

# running a game using a specific proton version:
```
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.launcher --env=PROTONPATH=GE-Proton9-1 /path/to/some/game.exe
```

0 comments on commit 174dbfc

Please sign in to comment.