-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux+Proton support #3
Conversation
* Replaced OS checks in profiles.py with a dependency injection * Extracted Game_Choice to a separate module (fixes a circular import caused by the above)
* Converted most `os.path` uses into `pathlib.Path`, which is friendlier * Some `os.path`s still exist in Windows-specific code * `get_latest_directory` logic updated to work with Path * Added new exception `SaveDataNotFound` for UserOS
Changed how CONFIG.config_path finds the app's directory path. The Linux PyInstaller onefile now chooses the right place for the config.json.
Thanks @JonLiuFYI -- will be giving it a look this week! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finished reviewing and testing the solution. Working great on my Windows machine. Once again really appreciate the stellar work and refactoring! I learned a lot such as Python having built-in abstract base class utilities.
Only have minor suggestions for the README that I do not mind much either way on, so after you review I'll approve, merge, and create a release here as well as on Nexus Mods.
Co-authored-by: biggestcookie <5748299+biggestcookie@users.noreply.github.com>
Co-authored-by: biggestcookie <5748299+biggestcookie@users.noreply.github.com>
Ship this bad boy. |
When complete, this closes #2 and increases the version number to 1.2.
Tasks
profiles.py
Acceptance
After merging
Build and release version 1.2 for