aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
AgeCommit message (Collapse)Author
2024-02-14refactor: Use dedicated library for getting PR list (#807)GeckoEidechse
Use the `octocrab` library for interacting with GitHub for getting the list of pull requests instead of writing own GitHub API library. This is done to reduce code size in the longterm even if the current change will temporarily increase it.
2024-02-14refactor: Use `u64` for PR number (#808)GeckoEidechse
instead of `i64` as PR numbers can never be negative.
2024-02-13fix: Remove most leftover dbg prints (#803)GeckoEidechse
Removes all but one leftover `dbg!()` prints. The remaining one is in a function that is yet to be implemented.
2024-02-13refactor: Pass object to backend instead of individual args (#798)GeckoEidechse
Instead of passing individual args to `launch_northstar` in the backend, pass a single object. The idea here being that said object can later easily be extended with more fields such as launch args for Northstar
2024-02-12refactor: Remove unused arg (#796)GeckoEidechse
`bypass_checks` was never used for `launch_northstar_steam`
2024-02-11feat: Release announcements generator (#792)GeckoEidechse
Adds a dev tool to semi-auto-generate release announcements that can be posted in announcements channels
2024-02-10fix: Resolve clippy warning (#791)GeckoEidechse
regarding too deeply nested code blocks
2024-02-06refactor: Get Steam ID from libthermite (#786)GeckoEidechse
Instead of defining our own const, let's just re-use the one recently added to libthermite
2024-01-21feat: Add option to clone existing profile (#761)GeckoEidechse
* 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>
2024-01-17refactor: Make launching via Steam an arg passed to backend (#753)GeckoEidechse
instead of a separate dedicated function
2024-01-17refactor: Sort listed functions alphabeticallyGeckoEidechse
This reduces the change of merge conflicts when two PRs add a new function
2023-12-28feat: Delete previous core mod files (#659)GeckoEidechse
* feat: Delete previous mod files * feat: Print folder name that failed to get removed * fix: Remove print visual guard * fix: Remove unnecessary print
2023-12-22fix: Add missing release note generation section entry (#719)GeckoEidechse
2023-12-20feat: Add `ci:` as a valid tag in release note generator (#711)GeckoEidechse
2023-11-15fix: Proper release-candidate number conversion (#669)GeckoEidechse
* 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
2023-11-09test: Remove the leading `v` from version numbers (#668)GeckoEidechse
They don't appear in the actual version numbers either.
2023-11-04test: Add test for conversion of non-rc numbers (#661)GeckoEidechse
Non-release-candidate numbers are also put through the function and should be returned unchanged.
2023-10-30test: Add unit tests for rc number conversion (#652)GeckoEidechse
Adds unit test for converting release candidate numbers
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.