aboutsummaryrefslogtreecommitdiff
path: root/src-tauri
AgeCommit message (Collapse)Author
2023-05-15refactor: Remove caller pattern (#356)GeckoEidechse
* refactor: Remove caller pattern for `launch_northstar` * refactor: Remove caller pattern for `check_is_flightcore_outdated` * refactor: Remove caller pattern for `get_host_os` * refactor: Remove caller pattern for `find_game_install_location` * refactor: Remove caller pattern for `launch_northstar_steam` * fix: Update function call names in frontend * refactor: Remove caller pattern for `get_northstar_version_number` * fix: Address clippy issues * refactor: Rename function to remove `_caller` suffix
2023-05-15feat: Button to install NorthstarLauncher from git main branch (#314)GeckoEidechse
* feat: WIP code to install launcher from git main Works but needs some more cleanup still * fix: Formatting * fix: Address clippy errors * refactor: Move `install_git_main` to own source file * fix: Remove unnecessary `pub` * docs: Update comments * refactor: Move API URL to constants
2023-05-15fix: Do not crash if not able to connect to TS (#346)GeckoEidechse
* fix: Do not crash if not able to connect to TS Removes a bunch of `unwrap`s that would cause the thread to crash if connection to Thunderstore failed. * feat: Show failure notification in frontend
2023-05-13chore: Bump FlightCore version to 1.15.4v1.15.4GeckoEidechse
2023-05-13refactor: Move Origin/NS running check to util mod (#355)GeckoEidechse
2023-05-13refactor: Move `extract` function to util submod (#354)GeckoEidechse
2023-05-13refactor: Move `find_game_install_location` to submodule (#350)GeckoEidechse
2023-05-13refactor: Move server browser fetch to util module (#352)GeckoEidechse
2023-05-12refactor: Handle error if JSON not well-formatted for release notes (#348)GeckoEidechse
Handle error if JSON not well-formatted for release notes We usually shouldn't hit this cause GitHub shouldn't server broken JSON and if connection failed we should error out earlier yet this was logged on Sentry.
2023-05-11refactor: Move some functions to utility module (#347)GeckoEidechse
* refactor: Move `force_panic` to utility module * refactor: Move `is_debug_mode` to utility module
2023-05-11refactor: Move NS install code into own module (#345)GeckoEidechse
* refactor: Move NS install code into own module Moves the code in question out from main into its own module * fix: Address clippy errors
2023-05-11chore: Bump FlightCore version to 1.15.3v1.15.3GeckoEidechse
2023-05-10refactor: Move code from `lib.rs` into `main.rs` (#330)GeckoEidechse
Move remaining logic in one big move
2023-05-10chore: Bump FlightCore version to 1.15.2v1.15.2GeckoEidechse
2023-05-10refactor: Move `get_enabled_mods` to different source file (#311)GeckoEidechse
Move `get_enabled_mods` into the mod management module.
2023-05-10fix: Handle no internet on serverbrowser fetch (#322)GeckoEidechse
Instead of panic, simply return an error
2023-05-10feat: Add button to install older Northstar version in DevView (#325)GeckoEidechse
Adds a button to DevView that allows installing older Northstar versions from Thunderstore
2023-05-10refactor: Import constants from crate root insteadGeckoEidechse
of lib
2023-05-10fix: Remove unused importGeckoEidechse
2023-05-10refactor: Move `check_mod_version_number`GeckoEidechse
to northstar module
2023-05-10refactor: Import constants from crate rootGeckoEidechse
Instead of lib
2023-05-09Revert "refactor: Move `check_is_valid_game_path` to `main.rs` (#335)"GeckoEidechse
This reverts commit 1ce900ca2d5cf91ae410c2ec918e1431aa15a677.
2023-05-09refactor: Move `check_is_valid_game_path` to `main.rs` (#335)GeckoEidechse
Part of #329
2023-05-09refactor: Move `launch_northstar` to own module (#338)GeckoEidechse
Part of #329
2023-05-09chore: Bump FlightCore version to 1.15.1v1.15.1GeckoEidechse
2023-05-09refactor: Use fully qualified path syntax for using functions in ↵GeckoEidechse
`invoke_handler` (#328) * refactor: Use fully qualified path syntax for `mod_management` functions passed to `invoke_handler` * refactor: Use fully qualified path syntax for `repair_and_verify` functions passed to `invoke_handler` * refactor: Use fully qualified path syntax for `github` functions passed to `invoke_handler`
2023-05-09refactor: Move `convert_release_candidate_number` to `main.rs` (#334)GeckoEidechse
Part of #329
2023-05-09refactor: Move `get_enabled_mods` to `main.rs` (#333)GeckoEidechse
Part of #329
2023-05-09feat: Add category in changelog for i18n (#324)GeckoEidechse
2023-05-08chore: Bump FlightCore version to 1.15.0v1.15.0GeckoEidechse
2023-05-08refactor: Only pass commit sha for installing launcher CI build (#313)GeckoEidechse
* refactor: Only pass commit sha for installing launcher CI build This allows for easier usage later when installing a launcher build based on commit sha only, e.g. for installing newest build of a branch. * docs: Update comments to match current code
2023-05-08feat: Generate Northstar release notes (#277)GeckoEidechse
* feat: Allow selecting project to generate release notes for * fix: Add missing TypeScript bindings * feat: Pass project to backend on tag compare * fix: Check for unsupported project * feat: Allow fetching tags from Northstar repo * fix: Formatting and fixing typo * feat: Copy over Northstar release note generation from previous PR * refactor: Use Tag struct instead of string Allows for extendability in the future * fix: Use proper user-agent for web request * fix: Remove debug log prints * refactor: Use separete function for FlightCore release note generation One function for each FlightCore and Northstar * feat: Make CommitAuthor optional to deal with rebase commits that don't have a PR linked * fix: Address clippy issues * fix: Remove debug prints * docs: Add comments * refactor: Move import to top of source file
2023-05-08refactor: Put doc comment before macro (#312)GeckoEidechse
Doc comments should be placed before the procedural macro decorating the function being documented.
2023-05-07chore: Bump FlightCore version to 1.14.1v1.14.1GeckoEidechse
2023-05-07chore: Bump steamlocate to 1.2.1 (#319)GeckoEidechse
2023-05-07refactor: Prepare code for installing older Northstar versions (#305)GeckoEidechse
* refactor: Rename function Rename `install_northstar` to `install_latest_northstar` to better indicate what it does * refactor: Have updater just call installer * refactor: Move package selection to calling func During installation, package should already be known so get package name earlier as opposed to passing `Option<T>` * chore: Format fix * refactor: Allow passing NS version to install If no version is passed, fallback is to latest * refactor: Rename function Back to `install_northstar` from `install_latest_northstar` as the function can now install any Northstar version * refactor: Do a borrow instead of clone * refactor: Use `map` and `unwrap_or` instead of `match`
2023-05-07fix: Fix typoGeckoEidechse
2023-05-06fix: Fix typoGeckoEidechse
2023-05-06refactor: Always remove zip files (#304)cat_or_not
* refactor: Always remove zip files * docs: Add comment explaining the use of the struct
2023-05-04chore: Bump FlightCore version to 1.14.0v1.14.0GeckoEidechse
2023-05-04chore: Update Tauri to 1.3 (#303)GeckoEidechse
2023-05-01chore: Bump FlightCore version to 1.13.5v1.13.5GeckoEidechse
2023-05-01feat: Show error message if WebView2 not installed (#285)GeckoEidechse
* feat: Show error message if WebView2 not installed on Windows * fix: Add missing dependency * fix: Do not import lib on OS where not needed Don't need to import Windows lib on Linux * feat: Link to troubleshooting page directly * chore: Update comments * docs: Show error message in troubleshooting guide Show the "WebView2 not installed" error message in the troubleshooting guide * fix: Resolve clippy error * fix: Resolve clippy error (again)
2023-04-30chore: Bump FlightCore version to 1.13.4v1.13.4GeckoEidechse
2023-04-30fix: Fetch multiple pages from GitHub PR API (#298)GeckoEidechse
* fix: Fetch multiple pages from GitHub PR API Previously we only fetched the first page which caused us to miss older pull requests. * feat: Only check as many pages as we need Instead of checking a static x amount of pages in the API we only wanna fetch as many pages as we actually need.
2023-04-30chore: Bump FlightCore version to 1.13.3v1.13.3GeckoEidechse
2023-04-30refactor: Use error in `ParsedThunderstoreModString::FromStr` instead of ↵cat_or_not
panic (#295) report error instead of panic
2023-04-21fix: Update game-scanner to avoid deprecated lib (#281)GeckoEidechse
This is a hotfix until upstream is updated or we replace the library entirely
2023-04-17chore: Bump FlightCore version to 1.13.2v1.13.2GeckoEidechse
2023-04-16Use pass-by-reference where possible (#266)cat_or_not
Use pass-by-reference where possible also contains some other small changes