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

596 commits

Author SHA1 Message Date
65dd2cc375 Make Astra actually close when the game launches, if you request it to
This option was completely broken, as the window would close even if you
didn't want it to, and the launcher would never exit. Now this option
actually does what it's supposed to.
2022-04-17 22:53:39 -04:00
1430862a90 Disable some useless settings when running in Flatpak
The wine version isn't reported correctly, so we won't show it. It's
also currently not possible to select a custom Wine path in the GUI,
since the file portal will return a useless sandboxed copy of anything
in /usr.
2022-04-17 22:47:16 -04:00
79466c02cf When running in a Flatpak, spawn Wine using flatpak-spawn --host
This allows you to use system Wine without any troubles!
2022-04-17 22:31:22 -04:00
39d9ca5fa6 Redo screenshot and README in preparation for 0.4.0 release 2022-04-17 21:48:31 -04:00
763fc2f744 Make note about flatpaks being available 2022-04-17 21:18:38 -04:00
ee21693f2c Improve news banner
Now it properly "slideshows" just like the real client, instead of being
a static image like it was before. The banners are now clickable, but
there's still a bug causing the controls to be reloaded twice on startup
- delaying the first animation.
2022-04-17 21:17:58 -04:00
518d57f669 Fix compilation on MSVC
This simply bumps the libxiv commit, which was the issue when building
on Windows.
2022-04-15 21:01:44 -04:00
964b94cc58 Update libxiv 2022-04-14 19:35:11 -04:00
d4ffead2a2 Change "Launch Official Client..." to "Launch Official Launcher..."
This also makes Astra imitate ffxivboot, by launching ffxivlauncher
directly.
2022-04-14 19:20:21 -04:00
c925fc5342 Fix encrypted arguments on macOS failing
It seems something changed in recent Wine versions(?) so there's now
a new TickCount() function using mach_continuous_time() based off of
XIV on Mac's implementation.
2022-04-14 19:02:14 -04:00
a2f73779be Automatically set HideWineExports depending on game license
Square Enix detects your platform as "macOS" when it detects Wine DLL
exports (only on the 64-bit launcher apparently), so if you have a
Windows license selected Astra will automatically add
the relevant registry key for you now.

If you still want to take advantage of your macOS license, you'll still
be able to play by selecting "macOS" as your license in your settings.
2022-04-14 17:48:06 -04:00
e5ebac764a Prevent deletion of the initial default profile 2022-04-14 16:52:36 -04:00
c907ed11d8 Disable game license combo box if using a Sapphire profile
These really only matter for official Square Enix lobbies.
2022-04-14 16:49:13 -04:00
57798503da Make it much clearer in login settings when OTP is disabled
This happens when you have a profile setup for Sapphire, as Sapphire
lobbies currently don't support OTP.
2022-04-14 16:45:29 -04:00
08c86c07dc Better handle bad login cases
Now the code is much cleaner, and the if-clauses are now cleanly
seperated based on which lobby you're attempting to sign into. Also,
the "Register" button for Sapphire servers is now disabled when login
is disabled too.
2022-04-14 16:42:53 -04:00
cbb36e910a Rename FFXIV built-in option 2022-04-14 16:34:39 -04:00
0ef0bca80e Big macOS changes pt. 1
There's a new "Game" menu where you can install the game if you
missed the initial prompt on start-up.

If you have XIV on Mac (a fellow XIV launcher) installed, you
now have the option of using their wine binaries and libraries. There is
more to come in future commits, especially pertaining DXVK and MoltenVK.

Game installation has been fixed for macOS, enabling you to start
updating right away without having to fiddle around with finding the
right installer or app package.
2022-04-14 16:29:23 -04:00
3469c99953 Add support for changing Dalamud update channel
This also fixes a bug where Astra couldn't get the correct version
number for a future .Net 6 Dalamud release
2022-04-13 10:45:00 -04:00
805b1d8317 Fix GitHub CI 2022-04-13 10:24:11 -04:00
ed53c87343 Fix ffxivboot path
Running the 32-bit version fails to update in Wine, presumably because
it's trying to run the 64-bit updater.
2022-04-13 10:23:16 -04:00
c61e971d63 Update libxiv 2022-04-13 09:40:41 -04:00
6f1e1a9e80 Properly set C++17 2022-04-13 09:26:56 -04:00
a5cc9f451f Use critical icon for missing wine dialog 2022-04-10 21:13:23 -04:00
b7ecfb3ebf Finally, set the correct menu roles on macOS
"Configure Wine..." was accidentally picked up as the preferences, but
now the real settings window is in the preferences' role.
2022-04-10 21:00:05 -04:00
32ab6b7bba Use modal windows for install prompt, and also prompt about missing Wine
These now will show as "sheets" under macOS
2022-04-10 20:59:04 -04:00
5d9671af9f Improve about window
Now it looks much, much nicer and will eventually include more
fields, such as a place to report bugs etc.
2022-04-10 19:56:14 -04:00
6699ebc076 Force menu role on macOS for settings menu items
For some reason this is broken on macOS, so let's force the menu role
for now.
2022-04-10 18:23:34 -04:00
8cdfe1dfde Fix macOS build with libxiv update 2022-04-10 18:09:57 -04:00
a9c6bda52a Add "use one-time password" option that can hide the field
This is useful for users who choose to not use OTP, and the layout
is improved so the field is automatically hidden for Sapphire servers,
which don't support OTP.

The register button is also hidden automatically for Square Enix
accounts, instead of simply disabling the button.
2022-04-10 17:43:05 -04:00
9ed269c697 Add options for hiding news list or banners 2022-04-10 16:58:29 -04:00
56710be2ff On startup, expand and properly resize news items 2022-04-10 16:17:14 -04:00
88526953f6 Point sourcehut link in README to the project page not just the git repo 2022-04-10 16:14:20 -04:00
84059df94d Fix some typos in README 2022-04-10 16:13:46 -04:00
0564fce8f2 Make all version strings in profile settings selectable by mouse 2022-04-10 16:12:47 -04:00
e4df844c44 Fix icons on configure menu items 2022-04-09 17:57:03 -04:00
17b5130eb7 Fix up formatting on game license combo box 2022-04-09 17:54:51 -04:00
a2bb741c72 Fix "Configure Wine" menu item not working if game is not installed
Now there is a dedicated way to launch an external tool, that does not
wrap in gamescope (if enabled) and not in the game's working directory.
2022-04-09 17:53:43 -04:00
d7e3694835 Early exit on viewing help or version options on command line 2022-04-09 17:44:00 -04:00
457c185de7 Rewrite "no game found" message 2022-04-09 17:38:32 -04:00
f3b02c420e Add wine version to profile settings 2022-04-09 17:33:37 -04:00
6462895033 If wine is not installed, disable login 2022-04-09 17:30:19 -04:00
7b2a0ca1c2 Check for wine version
This isn't displayed in the settings UI yet.
2022-04-09 17:28:24 -04:00
b095b343fe Properly set parent of about qt window 2022-04-09 17:05:12 -04:00
46506f0a43 Enable HighDPI scaling and HighDPI pixmaps 2022-04-09 17:02:25 -04:00
9210400e33 Properly set parent of install game window
Now it won't magically disappear and confuse people who don't see it
popped up under the main window.
2022-04-09 16:59:04 -04:00
763a524766 Make it much more clear when the game is not installed
Now the "open game directory" buttons in settings is turned off, and
buttons that could possibly result in a broken launch is now disabled
too.
2022-04-09 16:56:17 -04:00
930b3fcbdc Update TODO 2022-04-08 20:45:00 -04:00
3a259388f5 Bump version to 0.4.0 2022-04-08 20:44:25 -04:00
0455de15a1 Clarify Dalamud is a plugin framework, not a "modding" one 2022-04-08 19:39:10 -04:00
50ad93ee8f Add native launcher update support
When updating to this new commit, you will download the 1.1.0 release
automatically since we create a new version file.

This commit also fixes a bug where in certain cases the asset updating
process could end early.

The native launcher version is also visible from the settings window!
2022-04-08 19:34:51 -04:00