aboutsummaryrefslogtreecommitdiff
path: root/src-tauri
AgeCommit message (Collapse)Author
2022-11-03fix: Resolve thread crash due to block in async (#39)GeckoEidechse
Set the function to async but it was still using blocking version of reqwest.
2022-11-02refactor: Return error string instead of anyhow!() (#36)GeckoEidechse
All that is returned as the error type is a string so there's no point in using a custom error type when we can just have the error type be a string. Co-authored-by: Remy Raes <contact@remyraes.com>
2022-11-02refactor: Make all functions async (#35)GeckoEidechse
This way none of them are run on main thread and as such if a function panics, it will only crash that specific thread allowing the rest of the application to survive. The only exception is `force_panic()` as its purpose is hard crashing the application. From the frontend side of things, `invoke()` is already async, so no frontend changes are needed.
2022-11-02refactor: Use existing function for enabled mods (#34)GeckoEidechse
Instead of re-implementing existing logic just re-use what we already have.
2022-10-21feat: Add initial skeleton for ModsView (#27)GeckoEidechse
* feat: Backend code to get list of installed mods For now simply parses `enabledmods.json`. Note that this file will not be up-to-date if the user just installed a mod but hasn't launched Northstar yet. * feat: Empty skeleton page for ModsView Will be populated later with list of installed mods * chore: Remove leftover print statement
2022-10-20refactor: Various formatting and fixes (#23)GeckoEidechse
* refactor: Add error return type * style: Auto-format Only minor changes, did not take over all changes from auto-format. * refactor: Rename function to get FC version number To make it more clear which version number we're getting (FlightCore vs Northstar)
2022-10-20fix: Strip leading zeroes from rc version number (#24)GeckoEidechse
This is more of a hotfix, we should really just use propery regex or something better instead.
2022-10-19refactor: Use `Result<>` return type for Linux checks (#21)GeckoEidechse
* refactor: Use result return type for Linux checks * refactor: Store min required ldd version in const This way we only need to update a single variable in case min required version changes.
2022-10-19feat: Manually find game if needed (#7)Rémy Raes
* refactor: move updateGamePath method in store mutations * feat: play button allows game path update If game path was not found automatically and the user clicks the play button, FlightCore will ask him to point out his Titanfall2 installation folder. * refactor: change button text * feat: display a notification on successful game folder selection * feat: close permanent notification on successful game folder selection * fix: allow game launch with UNKNOWN install type on Windows * feat: set install type to UNKNOWN on manual folder pick * refactor: update omni-button text when game folder wasn't found
2022-10-18Add ldd --version check for Linux (#10)Salmon
2022-10-15chore: Bump version numberv0.2.3GeckoEidechse
2022-10-05feat: Add backend function to check if debug modeGeckoEidechse
Useful for having different UI between dev and release
2022-10-05chore: Bump version numberv0.2.2GeckoEidechse
2022-10-05chore: Bump version numberv0.2.1GeckoEidechse
2022-10-05chore: Bump version numberv0.2.0GeckoEidechse
2022-10-04fix: Capitalise product name properlyGeckoEidechse
2022-10-04fix: Re-enable self updating mechanismGeckoEidechse
2022-10-04refactor: Change dist dir pathGeckoEidechse
Instead of copying dist to different directory as before build step
2022-10-04feat: set minimum window dimensions to 600x300Rémy Raes
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
2022-10-03build: remove old tauri config fileRemy Raes
2022-10-03fix: Temp. disable updater to avoid failing buildsGeckoEidechse
Should be re-enabled before merging and in the longterm disabled in CI if private key is missing.
2022-10-03build: move front files on build stepRemy Raes
2022-10-02Merge branch 'GeckoEidechse:main' into feat/new-uiRémy Raes
2022-09-29Add backend function to disable all mods but corearchive/pre-ui-mergeGeckoEidechse
Should help with fixing a Northstar install in the case of conflicting mods.
2022-09-29Add ability to enable/disable modsGeckoEidechse
2022-09-28Fix path checked for enabledmods.jsonGeckoEidechse
2022-09-28Add backend logic to parse `enabledmods.json`GeckoEidechse
2022-09-28Auto-formatGeckoEidechse
2022-09-24Merge branch 'GeckoEidechse:main' into feat/new-uiRémy Raes
2022-09-24Add code skeleton to verify game filesGeckoEidechse
Once done, should help with some tickets.
2022-09-23Rename functionGeckoEidechse
2022-09-23feat: remove window decorationsRemy Raes
2022-09-23Only include OS specific code on said OSGeckoEidechse
when building
2022-09-23Show if debug in version numberGeckoEidechse
2022-09-23Move platform specific code into separate fileGeckoEidechse
2022-09-23build: fix minimum window dimensionsRemy Raes
2022-09-22Merge branch 'GeckoEidechse:main' into feat/new-uiRémy Raes
2022-09-22Remove left-over functions from original templateGeckoEidechse
2022-09-22Add initial functionality to get NS log filesGeckoEidechse
2022-09-22Import OS specifc libraries only on that OSGeckoEidechse
2022-09-21Bump version numberv0.1.5GeckoEidechse
2022-09-20Bump version numberv0.1.4GeckoEidechse
2022-09-20build: add new tauri configurationRemy Raes
2022-09-20Make button to select NS RC persistentGeckoEidechse
Uses a tauri plugin for persistent store behind the scenes to persist values over restarts of the application.
2022-09-20Bump version numberv0.1.3GeckoEidechse
2022-09-20Periodically check if Northstar is runningGeckoEidechse
2022-09-20Move dependency import to top of fileGeckoEidechse
2022-09-17Update dependenciesGeckoEidechse
In particular, update Tauri to 1.1
2022-09-16Bump version numberv0.1.2GeckoEidechse
2022-09-16Show in UI if FlightCore out-of-dateGeckoEidechse
To show user if application is outdated should self-update somehow not work.