aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
AgeCommit message (Collapse)Author
2023-10-28fix: Address broken rc number conversion (#651)GeckoEidechse
for double digit patch releases `v1.19.10-rc1` would get converted to `v1.19.11` instead of `v1.19.1001`
2023-10-13refactor: Move `convert_release_candidate_number` (#629)GeckoEidechse
to `util` module
2023-10-13refactor: Move `clean_up_download_folder_wrapper` (#628)GeckoEidechse
to `repair_and_verify` module
2023-10-13refactor: Move `install_mod_wrapper` (#627)GeckoEidechse
Move `install_mod_wrapper` to `mod_management` module to clean up `main.rs`.
2023-10-13refactor: Move relevant functions to northstar module (#626)GeckoEidechse
* refactor: Move `get_available_northstar_versions` to northstar module * refactor: Move `check_is_northstar_outdated` to northstar module
2023-10-13refactor: Move relevant functions to util module (#623)GeckoEidechse
* 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
2023-10-13refactor: Move repair/verify related funcs to mod (#622)GeckoEidechse
Moves functions related to game install path verification checks to dedicated module in an effort to clean up `main.rs`
2023-10-13docs: Add doc comments to some structs (#621)GeckoEidechse
2023-10-13refactor: Move NS installation logic to module (#619)GeckoEidechse
Move Northstar installation logic to module in order to clean up `main.rs`
2023-10-13refactor: Rename all occurences of `_caller`GeckoEidechse
to `_wrapper` To prepare for moving those functions to modules
2023-10-13refactor: Move `get_host_os` to module (#618)GeckoEidechse
In an effort to clean up `main.rs`
2023-10-13refactor: Move platform specific logic to proper mod (#616)GeckoEidechse
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
2023-10-13refactor: Use fully qualified path for vars and funcs (#614)GeckoEidechse
* refactor: Use fully qualified path for variable Instead of importing it directly * refactor: Use fully-qualified path for Linux specific function
2023-10-10feat: Add button to delete profile (#603)GeckoEidechse
This adds a button and corresponding logic to delete an existing profile Spliced out from #444 Co-authored-by: Jan <sentrycraft123@gmail.com>
2023-10-10feat: Remove compatibility tool check (#607)Jan
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
2023-10-10feat: Update text for changelog category headerGeckoEidechse
"Code style changes" explains the category way better than "Styles"
2023-09-18Allow ProtonGE to be used as a compatibility tool (#533)Ombrezz
* Allow ProtonGE to be used as a compatibility tool * Use constant list to track valid Proton builds * Fixed formatting * Update to doc comments
2023-09-13fix: Turn comments into doc comments (#561)GeckoEidechse
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.
2023-09-08fix: Remove hashes around raw string literal (#547)GeckoEidechse
clippy said they are "unnecessary"
2023-08-09fix: Ignore missing temp directories on cleanup (#488)Jan
When a directory couldn't be read on cleanup it errored out. Instead we should continue to clean up the rest of the directories
2023-08-08feat: Add dropdown menu for profiles (#494)Jan
Adds a dropdown menu to settings that allows selecting a different profile. Currently gated behind dev mode being active.
2023-08-08fix: Fix typo in commentGeckoEidechse
2023-08-05feat: Strip trailing newline from release notes (#486)GeckoEidechse
2023-08-04Move DLL into Profile for non default Profiles (#465)Jan
This is done so that with profiles we can run different versions of Northstar which would use different versions of the `Northstar.dll`
2023-08-03fix: Move leftover type definition to auto-generated from Rust (#450)GeckoEidechse
* chore: Delete leftover type definition file * feat: Generate InstallType from Rust enum * fix: Use new generated struct
2023-08-03fix: Go over all folders during cleanup (#469)GeckoEidechse
* fix: Go over all folders during cleanup of early return on error * fix: Remove now unused import
2023-08-03refactor: Use `GameInstall` object for PR install functions (#467)Jan
Passes the whole `GameInstall` object instead of individual path to functions related to PR installs. This is done in preparation for #444
2023-08-03fix: Add extract dir to cleanup (#466)Jan
Add extract dir to cleanup
2023-08-02Extract Northstar into temporary location before installing (#456)Jan
This is done in order to enable future changes
2023-08-01refactor Generalise temporary directory structure (#458)Jan
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.
2023-07-31refactor: Migrate install related functions to `GameInstall` (#457)Jan
This allows for later extending for installing in the appropriate profile
2023-07-30feat: Add button to forcefully terminate Northstar (#451)Jan
to DevView Kills `NorthstarLauncher.exe` and `Titanfall2.exe` processes.
2023-07-30refactor: Replace naive `game_path` argument with `GameInstall` (#454)GeckoEidechse
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>
2023-07-30refactor: Add Profile to GameInstall (#453)Jan
Add Profile to GameInstall Replace hardcoded uses of R2Northstar with profile attribute
2023-07-23feat: Add basic warning on plugin install (#441)GeckoEidechse
Plugins in Northstar have unrestricted device access. As such we want to warn user before installing one with an option to abort.
2023-07-22feat: Prevent mods with plugins to be installed (#438)GeckoEidechse
This is a temporary measure until a proper implementation exists that properly warns user before installing plugin
2023-07-21feat: Support installing Thunderstore packages (#426)GeckoEidechse
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`.
2023-07-20feat: Compare Flightcore versions as semver (#423)Jan
development versions are checked with: current_version < newest_version release versions are checked with: current_version != newest_version
2023-07-19feat: Add ability to delete package (#425)GeckoEidechse
Adds ability to delete mods from `packages` directory.
2023-07-19feat: Support reading mods from Northstar `packages` directory (#417)GeckoEidechse
2023-07-19feat: Replace MessageBoxW invocation with Tauri dialog (#418)Jan
2023-07-18feat: Add basic Proton management (#383)Jan
Adds logic to install, remove, and check existing install of NorthstarProton.
2023-07-18feat: Add warning for Snap installations (#399)Jan
Prints a warning to console if snap installation of Steam is detected.
2023-07-18refactor: Move code for legacy TS mod deletion to separate file (#424)GeckoEidechse
2023-07-17feat: Launch via Steam on non-Windows systems if possible (#422)Jan
2023-07-17fix: Add regex check for parsing TS mod string (#421)GeckoEidechse
Otherwise we accept improper formatted Thunderstore mod strings like `AUTHOR-MOD-VERSION-RANDOM_STUFF`
2023-07-17feat: Implement `to_string` for `ParsedThunderstoreModString` (#420)GeckoEidechse
Allows printing `ParsedThunderstoreModString` in the Thunderstore mod string format
2023-07-16refactor: Move code for legacy mod install reading to separate file (#416)GeckoEidechse
Moves some logic related to reading legacy installed mods to new file in order to clean up code before adding new logic.
2023-07-15fix: Address anti-pattern found by newer clippy (#413)GeckoEidechse
Toolchain updated and new clipply managed to find a new anti-pattern.
2023-07-07chore: Bump libthermite to `0.6.5` (#409)GeckoEidechse
And update code accordingly Co-authored-by: AnActualEmerald <emerald_actual@protonmail.com>