add google photos support & fix preview
This commit is contained in:
@@ -91,6 +91,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;
|
||||
|
||||
@@ -91,6 +91,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;
|
||||
|
||||
@@ -91,6 +91,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;
|
||||
|
||||
@@ -91,6 +91,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;
|
||||
|
||||
@@ -91,6 +91,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;
|
||||
|
||||
@@ -91,6 +91,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;
|
||||
|
||||
@@ -91,6 +91,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;
|
||||
|
||||
@@ -91,6 +91,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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user