1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 04:37:46 +00:00
Commit graph

576 commits

Author SHA1 Message Date
349cf42902 Move autotests directory to repository root 2023-12-17 10:16:21 -05:00
778ddc8ec6 Remove last usage of ${QT_MAJOR_VERSION} 2023-12-17 10:15:49 -05:00
5134858942 Remove some unused ECM modules 2023-12-17 10:13:49 -05:00
a319839611 Fix ECM minimum version, update libphysis and fix compilation 2023-12-17 10:09:01 -05:00
da038c6408 Fix QTemporaryDir file path issue 2023-12-04 17:44:48 -05:00
3b1484dddb Fix .build.yml due to Arch package changes 2023-11-14 20:42:40 -05:00
7176ee528e Fix show news setting 2023-11-10 17:31:05 -05:00
ca23ca348f Update libphysis which improves logging 2023-11-10 17:26:57 -05:00
6668091131 Update libphysis, prevent more crashes with invalid game data 2023-11-10 17:21:46 -05:00
6c6f7c5b62 Switch back to upstream libcotp
My changes were merged!
2023-11-10 17:14:53 -05:00
3b72a1874b Update libphysis 2023-11-10 17:13:31 -05:00
ed1a68b0a2 Fix REUSE 2023-10-11 18:01:30 -04:00
81bd81e1b6 Improve patching experience further
Now there is more visible and consistent information such as the number
of patches and how far you're into the patching process. It's harder to
close or quit the window while patching to prevent errors, and
installing patches no longer freezes the window.

And fixes an issue where the boot component would never properly update.
2023-10-11 17:45:02 -04:00
af407cbf7c Enable exceptions for QCoro 2023-10-11 15:42:24 -04:00
ee8b631657 Sync features with website in README 2023-10-11 14:52:10 -04:00
45cba2c0b6 Re-arrange LauncherCore functions 2023-10-11 14:49:24 -04:00
0df05c79ad Add some more documentation to Account, AssetUpdater and LauncherCore 2023-10-11 14:40:56 -04:00
ca4d47349b Remove LauncherCore::launchGame
This is only used internally now, so we can remove it from public API
2023-10-11 14:35:10 -04:00
7ad09f6fcf Fix up GameRunner::addRegistryKey comments 2023-10-11 14:33:22 -04:00
42d817a47c Move game running logic into its own class, shrink LauncherCore more 2023-10-11 14:30:21 -04:00
b091a4db8c Blegh, rename loginOauth function to loginOAuth 2023-10-11 14:15:49 -04:00
f99964b2bb Overhaul all the login classes, make the code way clearer
The old pre-async login system (especially SE's) was this weird mess
and it wasn't clear what data was flowing where, etc. Now it's a flat
function with comments and a bit better logging.
2023-10-11 14:13:42 -04:00
0bec42f836 Remove unused hasAccount function from LauncherCore 2023-10-11 13:41:22 -04:00
0f07f0aacd Reduce public API of SquareLauncher 2023-10-11 13:39:54 -04:00
999a2dc311 Ensure private members are prefixed with m_ 2023-10-11 13:39:10 -04:00
f0d1e1bcbe Move LauncherCore::mgr to private, add accessor function instead 2023-10-11 13:34:43 -04:00
5be109e60b Move more LauncherCore API to private, reduce surface area
Trying to wrangle this giant class still
2023-10-11 13:29:32 -04:00
61fff13502 Move launcher settings to its own class, simplify LauncherCore 2023-10-11 13:25:24 -04:00
d1d96d5e9f Make Steamworks API initialization failure fatal 2023-10-11 13:08:00 -04:00
e2ad7e71d5 Add update config step to work around some launch issues
This will update the config file on boot to prevent stalls due to the
opening cutscene movie, and also update the screenshot dir.
2023-10-11 13:03:23 -04:00
99652708dc Update libphysis 2023-10-11 13:02:38 -04:00
833af3b9ff Add a little bit of account information on the accounts page 2023-10-11 12:59:50 -04:00
774b131062 Fix double separators on login page 2023-10-11 12:59:34 -04:00
a0337e1aa5 Fix compilation without Steamworks 2023-10-11 12:59:25 -04:00
fd19641e72 Stop AssetUpdater from crashing under certain scenarios 2023-10-11 12:59:15 -04:00
2d7538bae1 Add screenshots directory setting 2023-10-11 12:58:53 -04:00
428cbeae4c Add Qt logger helper 2023-10-10 16:47:29 -04:00
9c0b719a49 Update README, screenshot 2023-10-08 20:26:27 -04:00
77a85fcafc Improve look and spacing of login, accounts, and profiles pages 2023-10-08 20:24:35 -04:00
24f256338d Save the last profile selected in the launcher in the config 2023-10-08 20:05:37 -04:00
67dcd90058 Overhaul initial setup flow, again
This improves the flow drastically, first by porting it from MobileForm
to FormCard. Next, it fixes some of the annoying bugs such as the
profile not switching properly when adding a new profile. Selecting an
existing game path is now possible, and it's less likely you can enter
in invalid account credentials. The overall look and behavior of some
of the pages is improved.
2023-10-08 20:01:17 -04:00
3a7dc40826 Remove more dead code 2023-10-08 19:14:17 -04:00
b17dcaf0b2 Improve asset updater error handling, allow disabling Dalamud
In the rare situation where the goatcorp servers are offline, they
shouldn't prevent a profile from launching. This adds an option to
quickly disable Dalamud if needed.
2023-10-08 19:09:56 -04:00
0e909c6670 Use new Dalamud distribution servers, improve asset updater logging 2023-10-08 18:54:03 -04:00
092e13e513 Move Dalamud version info reading to it's own function in Profile 2023-10-08 18:21:36 -04:00
f6c418d7d6 Ensure Flatpak credentials don't collide with non-Flatpak ones
This should never happen because everything is stored via the UUID, but
just in case.
2023-10-08 18:20:13 -04:00
7280aa5a48 Use a better default wine prefix path
This manages prefixes by default, like we do with game installs and user
documents now. It's still possible to point to an existing wine prefix.
2023-10-08 18:15:41 -04:00
c05311fccc Add better logging
Astra's own logs are now stored in a rotating log, the default message
format is improved. The client and DXVK now dump their logs in the same
place instead of in the game directory.
2023-10-08 18:02:02 -04:00
2662b0e0bb Refactor parts of the Steam API support
To make the code a bit cleaner, ensure the steam api class is only
initialized if Steam support is needed. Also shuts down the steam api
too.
2023-10-08 17:55:13 -04:00
f44c392eb0 LauncherCore: Add some more asserts 2023-10-08 17:52:44 -04:00