aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
AgeCommit message (Collapse)Author
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>
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-07-02fix: Return error instead of panickingGeckoEidechse
Otherwise user will just see infinite loading bar
2023-07-02chore: replace game_scanner usage with winreg (#394)Jan
Slashes a bunch of unnecessary dependencies
2023-06-28fix: Use empty map for enabled mods (#397)GeckoEidechse
if treating enabledmods.json as object fails
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-06-02fix: Remove some unwraps for fetching GitHub API (#375)GeckoEidechse
Remove some unwraps for fetching GitHub API to prevent thread from panicking on no internet
2023-06-01feat: Log folder names when indexing mods (#373)GeckoEidechse
2023-05-29fix: Return error on TS package index fetch fail (#371)GeckoEidechse
instead of panicking
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-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