aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/northstar
AgeCommit message (Collapse)Author
2024-04-15chore: bump steamlocate from 1.2 to 2.0.0-beta.2 (#891)Jan
Gets rid of `steamy_vdf` and other out of date dependencies
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-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
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-10-13refactor: Move `convert_release_candidate_number` (#629)GeckoEidechse
to `util` module
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 NS installation logic to module (#619)GeckoEidechse
Move Northstar installation logic to module in order to clean up `main.rs`
2023-10-13refactor: Move `get_host_os` to module (#618)GeckoEidechse
In an effort to clean up `main.rs`
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-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-08fix: Remove hashes around raw string literal (#547)GeckoEidechse
clippy said they are "unnecessary"
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-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-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-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-18feat: Add warning for Snap installations (#399)Jan
Prints a warning to console if snap installation of Steam is detected.
2023-07-17feat: Launch via Steam on non-Windows systems if possible (#422)Jan
2023-07-07chore: Bump libthermite to `0.6.5` (#409)GeckoEidechse
And update code accordingly Co-authored-by: AnActualEmerald <emerald_actual@protonmail.com>
2023-07-02fix: Return error instead of panickingGeckoEidechse
Otherwise user will just see infinite loading bar
2023-05-22refactor: Change error messages and function names to EA App (#362)GeckoEidechse
* refactor: Change error message to mention EA App instead of Origin * refactor: Rename function to refer to EA App * refactor: Rename function to mention EA and Origin * style: Fix formatting * refactor: Update translation text to EA App * refactor: Change emit name to EA App instead of Origin * docs: Update comment to mention EA App
2023-05-20fix: Handle case when failing to connect to TS while trying to install NS (#364)GeckoEidechse
2023-05-17feat: Better logging regarding mod installation (#363)GeckoEidechse
* fix: Make log comment more specific * feat: Log attempting to create temp dir * feat: Log mod to install and GameInstall struct * refactor: Replace `dbg` with proper logging * refactor: Replace `dbg` with proper logging * feat: Warning log mod install error * style: Fix formatting * feat: Log libthermite error and modstring when mod install fails
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-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-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-10refactor: Move code from `lib.rs` into `main.rs` (#330)GeckoEidechse
Move remaining logic in one big move
2023-05-10refactor: Move `check_mod_version_number`GeckoEidechse
to northstar module
2023-05-09refactor: Move `launch_northstar` to own module (#338)GeckoEidechse
Part of #329
2023-04-16Use pass-by-reference where possible (#266)cat_or_not
Use pass-by-reference where possible also contains some other small changes
2023-03-21feat: Proper logging (#223)GeckoEidechse
* feat: Initial setup of sentry logging * refactor: Replace some println with log call Not replacing all cause too large diff
2023-02-11refactor: Move various consts to `constants.rs` (#162)GeckoEidechse
* refactor: Move list of core mods to consts source Move the list of core Northstar mods to constants.rs * fix: Add missing newline * refactor: Move list of blacklisted mods to consts source file * refactor: Move list of TF2 Origin IDs to consts source file
2022-11-27refactor: Make var containing core mods pub const (#74)GeckoEidechse
This way we only define them in one place
2022-11-22refactor: Start moving NS related logic to own mod (#63)GeckoEidechse