1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00
Commit graph

827 commits

Author SHA1 Message Date
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
37d93bead5 Improve README 2022-08-15 13:19:23 -04:00
5a96467f14 Reformat code 2022-08-15 11:14:37 -04:00
bbdb78f2a8 Update .clang-format, add .editorconfig 2022-08-15 11:12:30 -04:00
935d5d6593 Use physis for reading game/boot versions 2022-08-09 23:18:18 -04:00
440d5670e7 Update patcher for new physis changes 2022-08-09 22:44:10 -04:00
5f4ef95dff Remove TODO, reference new issue tracker in README. 2022-07-27 22:02:00 -04:00
66f65784a8 Fix more leaked memory due to QObject parents not being set 2022-07-21 21:38:26 -04:00
da99c09706 Prevent mem leak, free sheet data 2022-07-21 21:18:27 -04:00
b0aa7be1f5 Deinit libxiv submodule 2022-07-21 20:57:42 -04:00
6729d116a5 Remove libxiv :-) 2022-07-21 20:54:20 -04:00
6458ef0ef7 Switch to using physis for expansion names and game installation 2022-07-21 20:53:19 -04:00
afae349ae8 Add unshield to physis dependencies 2022-07-21 20:51:38 -04:00
21448c6f22 Remove duplicate beta notice in README, reflect progress in TODO 2022-07-20 18:01:04 -04:00
3d32674663 Add game patching support
Yes it's finally here! It's been tested to update the game from the base
2012 version all the way up to patch 6.18. This also works across all
expansions, and the previous boot patches that were supported before.

However, the patcher dialog is in need of an update, as patching happens
on the same thread so the entire application freezes.
2022-07-20 18:00:42 -04:00
a48b6d630d Fix another possible deref crash 2022-07-20 17:58:35 -04:00
c5253f408b Report missing expansion versions to the server if needed
This matches behavior in the official retail launcher, if Astra detects
a mismatch between installed expansions and the expansions reported by
your service account, Astra will now report them as missing and in need
of patching.
2022-07-20 17:58:21 -04:00
c74e1bb459 Improve game version detection
This is needed for future game patching situations, where you might have
a base game version but no actual sqpack directories.
2022-07-20 17:56:52 -04:00
d2186f8593 Remove old GitHub files 2022-07-20 17:55:54 -04:00
aab877d94e Switch to using physis Blowfish implementation 2022-07-20 12:40:02 -04:00
0b9f46674f Fix crash due to bad deref 2022-07-20 11:45:29 -04:00
01e05ca887 Add physis dependency 2022-07-20 11:44:41 -04:00