-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tests: add test for initial umu setup * tests: add test for config file usage * tests: add test for running winetricks verbs * workflows: add more e2e tests * workflows: run shellcheck on tests * tests: shellcheck lint * tests: fix winetricks path * tests: silence tar extract * workflows: run config test in 3.11 * workflows: fix python version * tests: log python version * tests: reference venv python * tests: mock wineboot exe * workflows: refactor build steps * tests: use wineboot from previous step * workflows: let config test use Games dir * tests: use UMU-Proton for config test * tests: prefer sh instead of bash
- Loading branch information
Showing
5 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env sh | ||
|
||
python --version | ||
|
||
tmp=$(mktemp) | ||
mkdir -p "$HOME/.local/share/Steam/compatibilitytools.d" | ||
mkdir -p "$HOME/Games/umu/umu-0" | ||
curl -LJO "https://github.com/Open-Wine-Components/umu-proton/releases/download/UMU-Proton-9.0-3/UMU-Proton-9.0-3.tar.gz" | ||
tar xaf UMU-Proton-9.0-3.tar.gz | ||
mv UMU-Proton-9.0-3 "$HOME/.local/share/Steam/compatibilitytools.d" | ||
|
||
echo "[umu] | ||
proton = '~/.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-3' | ||
game_id = 'umu-0' | ||
prefix = '~/Games/umu/umu-0' | ||
exe = '~/Games/umu/umu-0/drive_c/windows/syswow64/wineboot.exe' | ||
launch_args = ['-u'] | ||
" >> "$tmp" | ||
|
||
|
||
UMU_LOG=debug GAMEID=umu-0 "$PWD/.venv/bin/python" "$HOME/.local/bin/umu-run" --config "$tmp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env sh | ||
|
||
UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" wineboot -u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
mkdir -p $HOME/.local/share/umu | ||
mkdir -p "$HOME/.local/share/umu" | ||
|
||
curl -LJO "https://repo.steampowered.com/steamrt3/images/0.20240916.101795/SteamLinuxRuntime_sniper.tar.xz" | ||
tar xaf SteamLinuxRuntime_sniper.tar.xz | ||
mv SteamLinuxRuntime_sniper/* $HOME/.local/share/umu | ||
mv $HOME/.local/share/umu/_v2-entry-point $HOME/.local/share/umu/umu | ||
mv SteamLinuxRuntime_sniper/* "$HOME/.local/share/umu" | ||
mv "$HOME/.local/share/umu/_v2-entry-point" "$HOME/.local/share/umu/umu" | ||
|
||
UMU_LOG=debug GAMEID=umu-0 $HOME/.local/bin/umu-run wineboot -u | ||
UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" wineboot -u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env sh | ||
|
||
UMU_LOG=debug GAMEID=umu-0 "$HOME/.local/bin/umu-run" winetricks good |