download the games.db from gitea

This commit is contained in:
Jannik 2018-06-16 00:03:23 +02:00
parent b610dc337b
commit 9839c303da
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ public class Main extends Application {
private static String osVers = System.getProperty("os.version"); private static String osVers = System.getProperty("os.version");
private static String javaVers = System.getProperty("java.version"); private static String javaVers = System.getProperty("java.version");
private static String javaVend= System.getProperty("java.vendor"); private static String javaVend= System.getProperty("java.vendor");
private String gamesDBdownloadURL = "https://github.com/Seil0/cemu_UI/raw/master/downloadContent/games.db"; private String gamesDBdownloadURL = "https://git.mosad.xyz/Seil0/cemu_UI/raw/branch/master/downloadContent/games.db";
private static String dirCemuUI; private static String dirCemuUI;
private static File directory; private static File directory;
private static File configFile; private static File configFile;
@ -116,7 +116,7 @@ public class Main extends Application {
Alert alert = new Alert(AlertType.ERROR); Alert alert = new Alert(AlertType.ERROR);
alert.setTitle("cemu_UI"); alert.setTitle("cemu_UI");
alert.setHeaderText("Error"); alert.setHeaderText("Error");
alert.setContentText("client_secret is missing! Please contact the maintainer. \nIf you compiled cemu_UI by yourself see: \nhttps://github.com/Seil0/cemu_UI/wiki/Documantation"); alert.setContentText("client_secret is missing! Please contact the maintainer. \nIf you compiled cemu_UI by yourself see: \nhttps://git.mosad.xyz/Seil0/cemu_UI/wiki/Documantation");
alert.showAndWait(); alert.showAndWait();
} }

View File

@ -685,7 +685,7 @@ public class MainWindowController {
@Override @Override
public void run() { public void run() {
try { try {
Desktop.getDesktop().browse(new URI("https://github.com/Seil0/cemu_UI/issues/3")); Desktop.getDesktop().browse(new URI("https://git.mosad.xyz/Seil0/cemu_UI/issues/3"));
} catch (IOException | URISyntaxException e) { } catch (IOException | URISyntaxException e) {
LOGGER.error("An error ocoured while trying to open a Website.", e); LOGGER.error("An error ocoured while trying to open a Website.", e);
} }