add google photos support & fix preview

This commit is contained in:
iceBear67
2026-08-08 10:26:17 +00:00
parent b0a23544e3
commit 0108def92d
26 changed files with 2068 additions and 51 deletions
@@ -92,6 +92,18 @@ public final class GameAdapter implements GameContext {
Util.getPlatform().openFile(target.toFile());
}
/**
* Hands a URL to whatever the desktop opens links with.
*
* <p>Minecraft's own opener, the one behind every link in the game's menus,
* rather than {@code java.awt.Desktop}: on macOS the game holds the main
* thread for GLFW and an AWT call from here would never come back.
*/
@Override
public void openUrl(String url) {
Util.getPlatform().openUri(url);
}
@Override
public String minecraftVersion() {
return minecraftVersion;