Skip to content

Commit

Permalink
cleanup flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Apr 17, 2024
1 parent 174dbfc commit 89a4975
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
22 changes: 14 additions & 8 deletions packaging/flatpak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,45 @@ 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
flatpak-builder umu-launcher org.openwinecomponents.umu.umu-launcher.yml
flatpak-builder --repo=umu-repo --force-clean umu-launcher org.openwinecomponents.umu.umu-launcher.yml
```

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

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

# Remove
```
flatpak --user remove umu-launcher
flatpak --user remote-delete umu-repo
```

# Usage examples:

# winecfg:
```
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.launcher winecfg
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.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
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.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
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.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
flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.umu-launcher --env=PROTONPATH=GE-Proton9-1 /path/to/some/game.exe
```
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id: org.openwinecomponents.umu.launcher
id: org.openwinecomponents.umu.umu-launcher
runtime: org.freedesktop.Platform
runtime-version: &runtime-version '23.08'
x-gl-version: &gl-version '1.4'
Expand Down Expand Up @@ -26,7 +26,7 @@ finish-args:
- --filesystem=~/Games:rw
- --filesystem=~/.local/share:rw
- --filesystem=~/.var/app/com.valvesoftware.Steam:rw
- --filesystem=~/.var/app/org.openwinecomponents.umu.launcher:rw
- --filesystem=~/.var/app/org.openwinecomponents.umu.umu-launcher:rw
- --filesystem=xdg-documents
- --filesystem=xdg-desktop
- --env=TZ=
Expand Down

0 comments on commit 89a4975

Please sign in to comment.