aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/main.rs
AgeCommit message (Collapse)Author
2024-08-03feat: Add initial CGNAT check logic (#969)GeckoEidechse
Adds some logic that gets external IP and runs tracert to count the number of hops to said IP address. The goal is to have an automated way to check for CGNAT.
2024-04-14chore: Remove Linux checks (#893)Jan
With NorthstarProton changing to be Proton-GE based the glibc requirement is no longer needed since it targets the Steam runtime
2024-03-25fix: Remove unused struct (#866)GeckoEidechse
also addresses clippy issue in the process
2024-02-14refactor: Move release note announcement generation (#813)GeckoEidechse
to module dedicated for logic interacting with GitHub
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-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-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-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-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-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-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-17feat: Launch via Steam on non-Windows systems if possible (#422)Jan
2023-07-07fix: Pass launch options to Steam (#392)Jan
Relying on a file to be parsed in time is unreliably, and if the file is open while we delete it we may run into locking problems. Downside is that this gives a fugly prompt
2023-06-10refactor: Use fully qualified path syntax in `main.rs` (#379)GeckoEidechse
2023-06-02fix: Remove unwrap from Northstar update check (#377)GeckoEidechse
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-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-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-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-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-10refactor: Move code from `lib.rs` into `main.rs` (#330)GeckoEidechse
Move remaining logic in one big move
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-09Revert "refactor: Move `check_is_valid_game_path` to `main.rs` (#335)"GeckoEidechse
This reverts commit 1ce900ca2d5cf91ae410c2ec918e1431aa15a677.