Skip to content

Commit

Permalink
update rpm and flatpak readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Apr 17, 2024
1 parent e321a67 commit b344db7
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/flatpak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/um

# 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.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 /path/to/some/game.exe
```

# running a game using the latest GE-Proton:
Expand Down
46 changes: 46 additions & 0 deletions packaging/rpm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Install dependencies:
```
sudo dnf install -y mock fedpkg
sudo usermod -aG mock username
su username
```

# Build:
```
fedpkg --release f39 srpm
mock -r /etc/mock/fedora-39-x86_64.cfg --rebuild --enable-network *.src.rpm
mv /var/lib/mock/fedora-39-x86_64/result .
```

# Install:
```
cd result
sudo dnf install -y umu-launcher*.rpm
```

# Remove
```
sudo dnf remove -y umu-launcher
```

# Usage examples:

# winecfg:
```
GAMEID=umu-starcitizen WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen umu-run winecfg
```

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

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

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

0 comments on commit b344db7

Please sign in to comment.