-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functionality to use winetricks (#109)
* umu_proton: add proton class * umu_util: add winetricks functionality * umu_run: add checks when using winetricks * umu_run: set environment variables for winetricks * umu_run: config winetricks to run unattended * umu_run: change directory when using winetricks * umu_run: fix exception when passing no winetricks verbs * umu_run: set WINEDLLPATH * umu_run: fix exit 3 status code for winetricks * umu_run: delete winetricks and protonfix paths * umu_run: update comments * umu_util: add missing type * umu_run: fix not setting EXE and STEAM_COMPAT_INSTALL_PATH - Without these variables set, winetricks will be missing and will result in a 'ShellExecuteEx failed: File not found' error. * umu_util: allow processing winetricks verbs in bulk - Allows passing verbs separated by spaces to apply verbs in bulk to the prefix * umu_run: update logic when swapping option and verb * Ruff lint * umu_run: respect order of winetricks verbs * umu_run: add winetricks as positional argument * umu_run: prefer surrounding verb with quotes * umu_run: update comment * umu_run: prefer assigning a new list than list.insert * umu_util: fix bug when parsing verbs * umu_util: update logic * umu_util: rename function * umu_util: add checks for is_installed_verb * umu_test: add test for is_installed_verb * umu_test: add test for is_winetricks_verb * umu_test: add tests when passing winetricks as positional argument * docs: add example of installing winetricks verbs * umu_util: fix logic when checking winetricks verbs - It doesn't make sense to check if the value in the log file is a verb and not the input. * umu_util: refactor is_winetricks_verb to log messages * umu_run: remove error messages for winetricks * umu_util: always process in bulk * umu_util: always pass verbs as a list * umu_test: update tests * Ruff lint * umu_util: fix AttributeError when checking winetricks verbs * umu_test: update tests * docs: update example
- Loading branch information
Showing
5 changed files
with
408 additions
and
6 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
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
Oops, something went wrong.