Age | Commit message (Collapse) | Author |
|
In an effort to clean up `main.rs`
|
|
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
|
|
* refactor: Use fully qualified path for variable
Instead of importing it directly
* refactor: Use fully-qualified path
for Linux specific function
|
|
This adds a button and corresponding logic to delete an existing profile
Spliced out from #444
Co-authored-by: Jan <sentrycraft123@gmail.com>
|
|
Adds a dropdown menu to settings that allows selecting a different profile.
Currently gated behind dev mode being active.
|
|
* chore: Delete leftover type definition file
* feat: Generate InstallType from Rust enum
* fix: Use new generated struct
|
|
This allows for later extending for installing in the appropriate profile
|
|
to DevView
Kills `NorthstarLauncher.exe` and `Titanfall2.exe` processes.
|
|
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>
|
|
Add Profile to GameInstall
Replace hardcoded uses of R2Northstar with profile attribute
|
|
|
|
Adds logic to install, remove, and check existing install of NorthstarProton.
|
|
|
|
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
|
|
|
|
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* refactor: Move `force_panic` to utility module
* refactor: Move `is_debug_mode` to utility module
|
|
* refactor: Move NS install code into own module
Moves the code in question out from main into its own module
* fix: Address clippy errors
|
|
Move remaining logic in one big move
|
|
Move `get_enabled_mods` into the mod management module.
|
|
Instead of panic, simply return an error
|
|
Adds a button to DevView that allows installing older Northstar versions from Thunderstore
|
|
of lib
|
|
This reverts commit 1ce900ca2d5cf91ae410c2ec918e1431aa15a677.
|
|
Part of #329
|
|
Part of #329
|
|
`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`
|
|
Part of #329
|
|
Part of #329
|
|
Doc comments should be placed before the procedural macro decorating the
function being documented.
|
|
* 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`
|
|
* 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)
|
|
Use pass-by-reference where possible
also contains some other small changes
|
|
* chore: Bump libthermite to 0.5.3
This adds a change needed for making progressbar work on dowload
* wip: First attempt at showing download progress
Simply prints it to JavaScript console for now
* feat: Emit download progress at most every 250ms
If we spam emit too much we use a lot of extra resources, slowing down
the actual download
* feat: Initial messages for extracting
* feat: Add install state enum
* refactor: Change payload to current + total size
downloaded
* fix: Remove extra emit
* fix: Remove extra emit
* refactor: Rename struct
* refactor: Move struct to top of file
* feat: Add TypeScript bindings
* feat: Add console logs for printing state for now
* fix: Remove duplicate identifier
* feat: Initial progressbar in frontend
* fix: Remove event listener added for debugging
* feat: Display status and downloaded bytes
* feat: Set loading bar to indeterminate on extract
* fix: Phrasing in comment
* feat: Add i18n for progress state
* refactor: Adjust control flow
do not show downloaded size anymore during extraction
* fix: Manually specify progressbar size
* fix: Update download progress every 100ms
instead of 250ms
Gives impression of faster / more fluent download.
* feat: layout does not move when progress bar is hidden
* feat: fix progress bar width to 200px
* refactor: put services container in a flex container, for it not to overlap play button
* refactor: export progress bar to dedicated component file
* refactor: Update status first outside of branch
* fix: Proper typing of event payload
* fix: Do not assign to unused variable
---------
Co-authored-by: Rémy Raes <contact@remyraes.com>
|
|
* feat: Add ability to launch via Steam
* document what get_titanfall_proton() does
* revert explicit use of newly imported Path
* Format source code to pass CI
* Use new steamlocate compat_tool helper
* cargo fmt
* fix: Address various clippy issues
Addresses clippy warnings caused by newly introduced code
* fix: Cargo toml dependency formatting
|
|
* fix: Remove redundant return
* fix: Remove unnecessary borrow
* fix: Remove unnecessary import
* fix: Use char for single character replacement
instead of string
* fix: Iterate over values directly
instead of key-value pair
* fix: Remove unnecessary let binding
* fix: Remove unnecessary return statement
* fix: Use char for single character replacement
instead of string
* refactor: Use struct short hand initialization
|
|
* feat: Generate FlightCore release notes
* fix: Remove leftover comment
* fix: Add missing semantic commit type
* fix: Re-add newlines accidentally removed in merge
* refactor: Remove contributors section
Will re-add a proper implementation in a later PR.
* fix: Revert accidentally modified line
* docs: Update comments
* fix: Use correct user-agent
* fix: Put unknown commits into "Other" section
Previously they were just dropped
* refactor: Move constant string array to right file
* fix: Remove debug prints
* refactor: Move lib import to start of file
* refactor: Use wrapper type
kinda needed by selector in frontend.
Allows for still passing full object to backend for future extensability
* fix: Generate missing wrapper TS interface
* fix: Add title and message to notification
* refactor: Move constant to consts file
* fix: Fix formatting
* fix: Remove unnecessary property declaration
|
|
* fix: Pin tauri-plugin-store package to same commit
Pin npm package to same commit as Rust crate
* fix: Attempt using newest plugin store commit
* fix: Perform explicit save to store on each change
This seems to resolve the issue around no longer writing changes to
store on close as now values are written on each change.
* chore: Pin dependencies to specific commit
Instead of tracking a branch, track a specific commit
|
|
As pointed out by clippy
|
|
* refactor: Replace all println with calls to logger
in `do_install()`
* refactor: Replace all println with calls to logger
in `verify_install_location()`
* refactor: Replace all println with calls to logger
in `get_northstar_release_notes()`
* refactor: Replace all println with calls to logger
in `update_northstar_caller()`
* refactor: Replace all println with calls to logger
in `install_northstar_caller()`
* refactor: Replace all println with calls to logger
in `apply_launcher_pr()`
* refactor: Replace all println with calls to logger
in `apply_mods_pr()`
* refactor: Replace all println with calls to logger
in `find_game_install_location()`
* refactor: Replace all println with calls to logger
in `install_mod_caller()`
* refactor: Replace all println with calls to logger
in `set_mod_enabled_status()`
* refactor: Replace all println with calls to logger
in `parse_installed_mods()`
* refactor: Replace all println with calls to logger
in `origin_install_location_detection()`
* refactor: Replace all println with calls to logger
in `query_thunderstore_packages_api()`
* refactor: Replace all println with calls to logger
in `add_batch_file()`
* refactor: Replace all println with calls to logger
in `extract()`
* refactor: Replace all println with calls to logger
in `check_is_northstar_outdated()`
|
|
* feat: fetch stats every 5 minutes and ping front with received information
* feat: update front on stats reception
* style: format code
* fix: Add comment
---------
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
|
|
* feat: Add button to download Mods PR
Simply opens the browser on the repo download link
* feat: Add button to download Launcher PR
Uses existing function to fetch nightly.link link and opens it in
browser
* refactor: Open Mods PR download link via TS
as opposed to having a link directly
This way it acts the same way as the Launcher PR download button.
Reason behind this change being consistent UI style.
* chore: Revert introduced formatting changes
Those were added by accident, whoops
* fix: Remove introduced unused dependency
* fix: Remove unused dependencies
|