LoginDialog and source target
Source target changed to 1.8 to allow a few things
This commit is contained in:
1 parent
a66d67676f
commit
4464cd2840
24 files changed
+178
-12
No files matched your search
@@ -43,6 +43,25 @@ public class Login {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void saveCredentials(String user, String pass)
|
||||
{
|
||||
File credentials = null;
|
||||
|
||||
if(System.getProperty("os.name").equals("Linux"))
|
||||
{
|
||||
credentials = new File("~/.local/share/jecnak/credentials.json");
|
||||
|
||||
}else if(System.getProperty("os.name").contains("Windows"))
|
||||
{
|
||||
credentials = new File(System.getenv("APPDATA\\jecnak\\"));
|
||||
}
|
||||
|
||||
if(!credentials.exists())
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public String getJSESSIONID()
|
||||
{
|
||||
return Jsessionid;
|
||||
|
||||
Reference in new issue
Block a user