aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-03refactor: Rename function to better fit behaviour (#40)GeckoEidechse
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-30feat: Enable toggling enabled mods (#29)GeckoEidechse
* feat: Enable toggling enabled mods Co-authored-by: pg9182 <96569817+pg9182@users.noreply.github.com> * chore: Update leftover comment Co-authored-by: pg9182 <96569817+pg9182@users.noreply.github.com>
2022-10-25feat: Show installed mods (#28)GeckoEidechse
Simply parses `enabledmods.json`. In the future we should also opt to check individual mods and compare with the JSON file.
2022-10-25chore: Update vue-tsc (#30)GeckoEidechse
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-20Merge pull request #25 from Alystrasz/refactor/router-viewGeckoEidechse
refactor: Router view
2022-10-20Merge branch 'GeckoEidechse:main' into refactor/router-viewRémy Raes
2022-10-20feat: apply same height to all menu componentsRemy Raes
2022-10-20fix: restore native bar drag regionRemy Raes
2022-10-20fix: adjust focus styleRemy Raes
2022-10-20refactor: remove unused current_tab variable from storeRemy Raes
2022-10-20fix: restore updateCurrentTab method with routerRemy Raes
2022-10-20fix: display dev button only when dev mode is enabledRemy Raes
2022-10-20refactor: remove useless CSS classesRemy Raes
2022-10-20refactor: use el-menu router configuration directlyRemy Raes
2022-10-20fix: adjust containers positionRemy Raes
2022-10-20refactor: apply style to new app menuRemy Raes
2022-10-20refactor: replace tabs with app menu + router viewRemy Raes
2022-10-20fix: all routes must give a FutureRemy Raes
2022-10-20feat: push PlayView as default view on launchRemy Raes
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-20feat: add router configRemy Raes
2022-10-20build: add vue-router dependencyRemy Raes
2022-10-19chore: Update Ubuntu version in CI (#22)GeckoEidechse
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-18feat: Add persistent store (#16)GeckoEidechse
* refactor: Rename object field So that is specifically references Northstar * chore: Add plugin-store as npm dependency * feat: Persistent storing selected NS release canal * docs: Add explanation about persistent store
2022-10-18Add ldd --version check for Linux (#10)Salmon
2022-10-15chore: Remove old entries from gitignore (#15)GeckoEidechse
Files no longer exist since the UI rewrite
2022-10-15chore: Bump version numberv0.2.3GeckoEidechse
2022-10-13chore: Link release notes in update notification (#14)GeckoEidechse
* Move release notes to own variable * Show link in update notification
2022-10-12fix: App bar drag (#13)Rémy Raes
* feat: dragging app bar drags the whole app The data-tauri-drag-region attribute cannot be put on menu bar directly because it contains elements, so we emulate its behavior with a mousedown listener. * fix: app cannot be dragged by background container * fix: type issues
2022-10-08feat: Show own version number in settings view (#11)GeckoEidechse
* feat: Show own version number in settings view Adds a new field to state that stores FlightCore version number. Version number is pulled from backend on application launch. * style: Reorder so that FC version is shown first * chore: Remove leftover TODO comment
2022-10-07fix: Disable self-updater in CI builds from pushGeckoEidechse
Remedies the issue that anyone pushing without access to private key will see their CI fail.
2022-10-06Merge pull request #9 from GeckoEidechse/feat/enable-dev-mode-on-debugRémy Raes
feat: Enable dev mode directly if in debug mode
2022-10-06feat: Enable dev mode directly if in debug modeGeckoEidechse
Allows skipping clicking version number 5 times when working on FlightCore. Release builds are not in debug mode, so dev mode is still disabled by default for end-users.
2022-10-06Merge pull request #6 from GeckoEidechse/feat/initial-extra-mods-disable-buttonRémy Raes
feat: Initial logic to disable all but core mods
2022-10-06Merge pull request #5 from GeckoEidechse/chore/remove-unused-codeGeckoEidechse
chore: Remove unused code and dependencies
2022-10-06refactor: Use string variable value directlyGeckoEidechse
instead of encapsulating in template literal
2022-10-06fix: Remove console logsGeckoEidechse
As requested in review
2022-10-06feat: Initial logic to disable all but core modsGeckoEidechse
In the future, this button should be moved to a "Repair" view. For now I'm putting it into Dev view for testing.
2022-10-06chore: Remove unused dependenciesGeckoEidechse
2022-10-06chore: Remove unused frontend page and stylingGeckoEidechse
2022-10-06docs: Show logo in readmeGeckoEidechse
2022-10-05refactor: Use Element+ notif. instead of `alert()`GeckoEidechse
Less jarring then receiving an `alert()` as the first thing when opening FlightCore