Age | Commit message (Collapse) | Author |
|
* add dev button to refetch profiles
* add dialog box with a table of all profiles
* add button to delete non default profiles to dialog box
* add button to clone profile to dialog box
* style: Add trailing comma
* docs: Add doc comment explaining function
* fix: Remove leftover testing code
* fix: Delete duplicate function registration
* chore: Sort Tauri function registrations alphabetically
---------
Co-authored-by: Jan200101 <sentrycraft123@gmail.com>
|
|
instead of a separate dedicated function
|
|
This reduces the change of merge conflicts when two PRs add a new function
|
|
* feat: Delete previous mod files
* feat: Print folder name that failed to get removed
* fix: Remove print visual guard
* fix: Remove unnecessary print
|
|
|
|
|
|
* refactor: Return early if not a release-candidate
* test: Add test case for double digit rc number
* feat: Implement proper rc number conversion
* test: Remove the leading v from version number
They don't appear in the actual version numbers either.
* test: Add test for double digit rc and patch num
|
|
They don't appear in the actual version numbers either.
|
|
Non-release-candidate numbers are also put through the function and
should be returned unchanged.
|
|
Adds unit test for converting release candidate numbers
|
|
for double digit patch releases
`v1.19.10-rc1` would get converted to `v1.19.11` instead of `v1.19.1001`
|
|
to `util` module
|
|
to `repair_and_verify` module
|
|
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.
|
|
|