Age | Commit message (Collapse) | Author |
|
Move `install_mod_wrapper` to `mod_management` module to clean up `main.rs`.
|
|
* refactor: Move `get_available_northstar_versions`
to northstar module
* refactor: Move `check_is_northstar_outdated`
to northstar module
|
|
* refactor: Move to `get_flightcore_version_number` to util module
* refactor: Move to `open_repair_window` to util mod
* refactor: Move to `close_application` to util mod
|
|
Moves functions related to game install path verification checks to dedicated module in an effort to clean up `main.rs`
|
|
|
|
Move Northstar installation logic to module in order to clean up `main.rs`
|
|
to `_wrapper`
To prepare for moving those functions to modules
|
|
In an effort to clean up `main.rs`
|
|
in an effort to clean up `main.rs`
* refactor: Move Proton related wrapper functions
to root of platform_specific module
* refactor: Move Linux checks to Linux mod
for platform specific stuff
* refactor: Move Linux checks wrapper to mod
for platform specific stuff
|
|
* refactor: Use fully qualified path for variable
Instead of importing it directly
* refactor: Use fully-qualified path
for Linux specific function
|
|
This adds a button and corresponding logic to delete an existing profile
Spliced out from #444
Co-authored-by: Jan <sentrycraft123@gmail.com>
|
|
Remove compatibility tool check as all major proton versions can run Northstar out of the box or with minor configurations:
- Proton 8 needs a DLLOVERRIDE
- GE-Proton works like a charm with a special Northstar case
- NorthstarProton always worked
|
|
"Code style changes" explains the category way better than "Styles"
|
|
* Allow ProtonGE to be used as a compatibility tool
* Use constant list to track valid Proton builds
* Fixed formatting
* Update to doc comments
|
|
So for some reason when I started out writing this file I used standard
comments to annotate the constants.
Using doc comments makes more sense here as they get taken into account
when generating documentations.
|
|
clippy said they are "unnecessary"
|
|
When a directory couldn't be read on cleanup it errored out. Instead we should continue to clean up the rest of the directories
|
|
Adds a dropdown menu to settings that allows selecting a different profile.
Currently gated behind dev mode being active.
|
|
|
|
|
|
This is done so that with profiles we can run different versions of Northstar which would use different versions of the `Northstar.dll`
|
|
* chore: Delete leftover type definition file
* feat: Generate InstallType from Rust enum
* fix: Use new generated struct
|
|
* fix: Go over all folders during cleanup of early return on error
* fix: Remove now unused import
|
|
Passes the whole `GameInstall` object instead of individual path to functions related to PR installs.
This is done in preparation for #444
|
|
Add extract dir to cleanup
|
|
This is done in order to enable future changes
|
|
The temp folder we create could be reused for a lot more things, like extracting Northstar before moving files into the correct place.
As such adjust the naming and structure to accommodate this.
|
|
This allows for later extending for installing in the appropriate profile
|
|
to DevView
Kills `NorthstarLauncher.exe` and `Titanfall2.exe` processes.
|
|
We should always pass the whole object instead of just a field for easier expandability in the future
Co-authored-by: Jan200101 <sentrycraft123@gmail.com>
|
|
Add Profile to GameInstall
Replace hardcoded uses of R2Northstar with profile attribute
|
|
Plugins in Northstar have unrestricted device access.
As such we want to warn user before installing one with an option to abort.
|
|
This is a temporary measure until a proper implementation exists that properly warns user before installing plugin
|
|
Support for installing mods from Thunderstore directly into the `packages` folder.
Adds some basic sanity check during installation.
After successful installation, the old version of the mod is removed. This includes both from `packages` and from `mods`.
|
|
development versions are checked with:
current_version < newest_version
release versions are checked with:
current_version != newest_version
|
|
Adds ability to delete mods from `packages` directory.
|
|
|
|
|
|
Adds logic to install, remove, and check existing install of NorthstarProton.
|
|
Prints a warning to console if snap installation of Steam is detected.
|
|
|
|
|
|
Otherwise we accept improper formatted Thunderstore mod strings like
`AUTHOR-MOD-VERSION-RANDOM_STUFF`
|
|
Allows printing `ParsedThunderstoreModString` in the Thunderstore mod
string format
|
|
Moves some logic related to reading legacy installed mods to new file in order to clean up code before adding new logic.
|
|
Toolchain updated and new clipply managed to find a new anti-pattern.
|
|
And update code accordingly
Co-authored-by: AnActualEmerald <emerald_actual@protonmail.com>
|
|
Relying on a file to be parsed in time is unreliably, and if the file is open while we delete it we may run into locking problems.
Downside is that this gives a fugly prompt
|
|
Otherwise user will just see infinite loading bar
|
|
Slashes a bunch of unnecessary dependencies
|