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

648 commits

Author SHA1 Message Date
8bef7274e1 Update corrosion to 0.2.2, pull libphysis 0.1.1 tag 2022-10-17 20:04:07 -04:00
98760624a5 Small code changes to quiet analyzer 2022-10-13 13:20:09 -04:00
3b77932211 Use mkpath instead of mkdir when downloading patches 2022-09-15 09:36:38 -04:00
f8c0615bf0 Do we need fmt? no. 2022-09-13 15:08:11 -04:00
840539485d Protect against crashes when running in non-Steam mode in Steam builds 2022-09-08 00:03:59 -04:00
9c02ea2157 Handle missing game installs gracefully like before 2022-09-07 23:59:55 -04:00
f1b7890e88 Oops, Steamworks is a SHARED library 2022-09-07 23:54:17 -04:00
5fd9ba831d Don't check for steam option on non-steam builds 2022-09-07 23:45:33 -04:00
64dd7cb3ec Build baseeconde and cotp as static libraries 2022-09-07 23:26:23 -04:00
e5371f04e9 am idiot, accidentally pushed dev change 2022-09-07 23:26:09 -04:00
3df6e79fad When running on the Steam Deck, launcher mode is now handled
Steamworks recommends not using launchers on the Deck, but it has a
special mode that specifically enables a KB/M layout to assist - we now
enable that before launching the game.
2022-09-06 11:00:53 -04:00
8d7f6afa0a Set steam app id properly 2022-09-06 10:54:34 -04:00
32e77696b1 Remove useless Proton wine type 2022-09-06 10:31:27 -04:00
c5a6507241 Don't disable launching if system Wine isn't installed when using Proton 2022-09-06 10:30:23 -04:00
59a66932e7 When launching via Steam, disable the wine options that do nothing 2022-09-06 10:28:45 -04:00
8dc37ed24b Add Steam Proton support 2022-09-06 10:18:12 -04:00
99e6e87a4d Modify toolmanifest to mention the new steam option 2022-09-05 18:12:09 -04:00
02fb12987f When using Steam, force Steam Proton 2022-09-05 18:10:56 -04:00
28c8b0918d Only enable Steam API if the steam option is turned on 2022-09-05 18:06:36 -04:00
b15473ddf0 Unify named constants for features too 2022-09-05 18:03:59 -04:00
8fbe1b6514 Introduce new and dedicated keychain functions
This replaced the manual use of QtKeychain which could be error-prone,
and nasty. This WILL reset saved passwords unfortunately, because the
name was set wrong (it was previously LauncherWindow instead of Astra).
2022-09-05 17:59:16 -04:00
21f63b8abd Do not use a separate debug version of the app data folder
This just ended up being really annoying instead of helpful during
development...
2022-09-05 17:50:06 -04:00
e51d8243f2 Use the unified login interface in tablet version too 2022-09-05 17:49:02 -04:00
350e88aa34 Add OTP input to tablet interface 2022-09-05 17:46:27 -04:00
27a167e913 Change around CMake options
Now all feature options have a unified naming scheme, make interface
options toggleable for the users that care.
2022-09-05 17:42:13 -04:00
d1b4dd37aa Remove some includes in main.cpp too 2022-09-05 17:30:15 -04:00
3146fd80b4 Remove the dumb fetchcontent solution for libraries 2022-09-05 17:29:51 -04:00
474de3fedc More boring code cleanup 2022-09-05 17:26:26 -04:00
cd2723ebfb Fix Watchdog builds failing 2022-09-05 17:17:38 -04:00
aaa614519e Use the actual gamemode library, instead of the helper
Sometimes gamemoderun is not packaged on certain systems, so use the
actual library if available instead to sidestep this problem.
2022-09-05 17:10:37 -04:00
7d9d59d9af Remove the multiple layers of launchExecutable nonsense in core 2022-09-05 16:59:49 -04:00
e1e67847b0 Remove now unused readVersion function 2022-09-05 16:55:49 -04:00
9832e66ca9 Move asset updater to core, and remove the stupid dependency on desktop
It makes no sense for Core to depend on Desktop, and this removes that
circular dependency.
2022-09-05 16:54:05 -04:00
70309ceca1 Remove empty dxvkinstaller file
This should really be set up by your Wine installation anyway, and not
your launcher!
2022-09-05 16:52:26 -04:00
5a1171fca3 Remove nativelauncher support, use Dalamud injector instead
It turns out that Dalamud has it's own injector (since when??) and Astra
will now use that instead of my own solution. Thanks to marzent of the
XIV-on-Mac team, as that's how I learned this existed :-p

Not only does this remove quite a bit of code cruft, this should make
launching the game if you're using Dalamud more stable too :-)
2022-09-05 16:51:46 -04:00
643208fc47 Remove some useless debug messages for launching certain programs 2022-09-05 16:23:15 -04:00
5c2d4727f1 Small warning fixups in headline fetching 2022-09-05 16:17:54 -04:00
f28f8c392d Add LauncherCore::autoLogin function, remove separate impls
Previously there was two separate auto-login functions, one in the cli
interface and one for the desktop interface. If I didn't stop myself,
there would probably be one in the tablet interface too!
2022-09-05 16:14:07 -04:00
ce7854626f Introduce LauncherCore::login, which removes the wierd if-else checks
For some reason the login call sites required them to handle whether or
not the profile was Sapphire or not, which is stupid.
2022-09-05 16:05:39 -04:00
bf87010aca Don't depend on specific launcher impls to handle launching watchdog 2022-09-05 15:59:00 -04:00
72338db4b9 Small warning changes in squarelauncher 2022-09-05 15:52:44 -04:00
ad04cf4519 Further, simplify gate status check 2022-09-05 15:50:58 -04:00
db7ff8547f Simplify gate status query building 2022-09-05 15:49:58 -04:00
37e1e67558 Don't include steam api header on non-steam builds 2022-09-05 15:44:32 -04:00
dc024aceb7 Include basic framework for Steam API support 2022-09-05 15:43:15 -04:00
33f68c5586 Make auto-login cancel button actually functional 2022-08-31 21:31:03 -04:00
5ee036dd09 Add option to generate OTP codes automatically
* This uses the great libcotp library, I stripped it down to fit inside
the repository.
* This is a security-convenience trade-off, and it's made very clear
with the tooltips on the settings page.
* It's still secured by your system keychain, and it's up to the users
whether that's good enough for them. Eventually down the line
I would like to support more esoteric keychains such as Bitwarden or
KeePass.
* Right now it's only integrated into the auto-login desktop feature,
but there will eventually be like an "auto-fill OTP" button in the main
window.

There's still a lot to clean up with these new features but they work
a little at least :-)
2022-08-31 21:19:25 -04:00
540c8b6f80 Add relevant buttons and inputs in settings window to accept otp secret 2022-08-31 17:27:30 -04:00
d28ed71e87 Add a basic auto-login window
Soon, you'll be able to store an OTP secret with Astra :-)

Also, the cancel button is broken ATM, so you have to manually turn the
feature off in the config.
2022-08-31 17:14:54 -04:00
0eb75d0d88 Add Steam compatibility tool vdfs for future use 2022-08-31 16:43:59 -04:00