diff --git a/build.gradle b/build.gradle index 094e772..60ec6fe 100644 --- a/build.gradle +++ b/build.gradle @@ -26,13 +26,13 @@ repositories { } dependencies { - implementation 'com.google.code.gson:gson:2.8.8' - implementation 'com.formdev:flatlaf:1.6.1' + implementation 'com.google.code.gson:gson:2.8.9' + implementation 'com.formdev:flatlaf:2.0' implementation group: 'org.tukaani', name: 'xz', version: '1.8' implementation group: 'org.rauschig', name: 'jarchivelib', version: '0.7.1' implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13' implementation 'com.github.Dansoftowner:jSystemThemeDetector:3.6' - implementation 'com.github.oshi:oshi-core:5.8.2' + implementation 'com.github.oshi:oshi-core:6.0.0' implementation group: 'commons-io', name: 'commons-io', version: '2.8.0' implementation 'com.github.rjeschke:txtmark:0.13' } diff --git a/src/main/java/FutureRestoreWorker.java b/src/main/java/FutureRestoreWorker.java index daf2faa..57cf1d0 100644 --- a/src/main/java/FutureRestoreWorker.java +++ b/src/main/java/FutureRestoreWorker.java @@ -291,10 +291,10 @@ public static void uploadLog(String logPath, String logName, String command) thr String rootJsonString = gson.toJson(rootJson); HttpClient httpClient = HttpClients.createDefault(); - HttpPost httpPost = new HttpPost("http://futurerestorelogserver.eastus.cloudapp.azure.com:6969/upload"); + HttpPost httpPost = new HttpPost("http://coocoofroggy.eastus.cloudapp.azure.com:6969/frlogs/upload"); StringEntity requestEntity = new StringEntity(rootJsonString, ContentType.APPLICATION_JSON); httpPost.setEntity(requestEntity); - httpPost.addHeader("authorization", "CoocooFroggy rocks"); + httpPost.addHeader("Authorization", "CoocooFroggy rocks"); HttpResponse response = httpClient.execute(httpPost); HttpEntity entity = response.getEntity(); diff --git a/src/main/java/Main.java b/src/main/java/Main.java index 0244117..b434c76 100644 --- a/src/main/java/Main.java +++ b/src/main/java/Main.java @@ -1,14 +1,14 @@ public class Main { public static void main(String[] args) { - MainMenu.futureRestoreGUIVersion = "1.94"; + MainMenu.futureRestoreGUIVersion = "1.95"; MainMenu.main(); /* - | - — + — - | - "I'm still waiting." + | + — + — + | + "Too bad nobody used the RCE to pull me out" */