Skip to content

Commit

Permalink
FutureRestore GUI — v1.95
Browse files Browse the repository at this point in the history
- Change URL where logs are uploaded
- Update dependencies
  • Loading branch information
CoocooFroggy authored Jan 23, 2022
2 parents 0d43031 + ec6fca1 commit de51fc3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/FutureRestoreWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/Main.java
Original file line number Diff line number Diff line change
@@ -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"
*/
Expand Down

0 comments on commit de51fc3

Please sign in to comment.