-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove custom cleanup routine on proton install error (#186)
* umu_proton: refactor _fetch_releases * umu_proton: remove _cleanup - Delegate cleanup routine to tempfile.TemporaryDirectory when the context manager exits * umu_proton: refactor _extract_dir * umu_proton: refactor _get_latest * umu_proton: add _install_proton * umu_proton: refactor _update_proton * umu_run: update error message * umu_test: update tests * umu_proton: use tempfile.TemporaryDirectory as a context manager * umu_proton: don't submit a task when moving proton - There will be cases where the launcher will crash when setting environment variables because PROTONPATH couldn't be resolved as the move of the Proton build didn't complete. * Revert "umu_run: update error message" This reverts commit a4c3f3795b50131328a0918b97b10abcaef2464a. * umu_proton: add docs to _install_proton * umu_test: update tests - Remove some assertions for the state of the compatibilitytools.d directory. Once an exception occurs, all files will automatically be cleaned up as the temporary directory is created as a context manager.
- Loading branch information
Showing
2 changed files
with
99 additions
and
215 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
Oops, something went wrong.