Age | Commit message (Collapse) | Author |
|
|
|
Moves some logic related to reading legacy installed mods to new file in order to clean up code before adding new logic.
|
|
Toolchain updated and new clipply managed to find a new anti-pattern.
|
|
And update code accordingly
Co-authored-by: AnActualEmerald <emerald_actual@protonmail.com>
|
|
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
|
|
Otherwise user will just see infinite loading bar
|
|
Slashes a bunch of unnecessary dependencies
|
|
if treating enabledmods.json as object fails
|
|
|
|
|
|
Remove some unwraps for fetching GitHub API to prevent thread from panicking on no internet
|
|
|
|
instead of panicking
|
|
* 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
|
|
* 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
|
|
|
|
|
|
|
|
|
|
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.
|
|
* 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
|
|
|
|
to northstar module
|
|
Instead 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
|
|
|
|
* 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
|
|
* 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
|
|
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`
|
|
|
|
|
|
* refactor: Always remove zip files
* docs: Add comment explaining the use of the struct
|
|
* 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)
|
|
* 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.
|