Moving token to .config

This commit is contained in:
Timo Ley 2020-09-30 22:12:01 +02:00
parent 5a36834f38
commit 48c156c34f
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ dependencies {
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.12'
compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.3'
compile group: 'ley.jensmemes', name: 'jensmemeslib', version: '1.0-SNAPSHOT'
compile group: 'ley.jensmemes', name: 'jensmemeslib', version: '1.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}

View file

@ -128,7 +128,7 @@ public class Controller {
}
public void saveToken() {
File tokfile = new File(System.getProperty("user.home") + "/.jmclient/token");
File tokfile = new File(System.getProperty("user.home") + "/.config/jensmemes/token");
token = txTok.getText();
new Thread(new Runnable() {
@Override
@ -151,7 +151,7 @@ public class Controller {
}
public void loadToken() {
File tokfile = new File(System.getProperty("user.home") + "/.jmclient/token");
File tokfile = new File(System.getProperty("user.home") + "/.config/jensmemes/token");
new Thread(new Runnable() {
@Override
public void run() {