mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-20 21:04:28 -04:00
Add config file support for network type selection
This commit is contained in:
parent
d2b1c5f37c
commit
a5a04fe72c
6 changed files with 104 additions and 10 deletions
|
@ -63,7 +63,9 @@ public class BitSquare extends Application {
|
|||
public static void main(String[] args) {
|
||||
Profiler.init();
|
||||
Profiler.printMsgWithTime("BitSquare.main called with args " + Arrays.asList(args).toString());
|
||||
if (args.length > 0) APP_NAME = APP_NAME + "_" + args[0];
|
||||
|
||||
if (args.length > 0)
|
||||
APP_NAME = APP_NAME + "_" + args[0];
|
||||
|
||||
launch(args);
|
||||
}
|
||||
|
@ -107,7 +109,6 @@ public class BitSquare extends Application {
|
|||
|
||||
User persistedUser = (User) persistence.read(user);
|
||||
user.applyPersistedUser(persistedUser);
|
||||
//persistence.write(user);
|
||||
|
||||
settings.applyPersistedSettings((Settings) persistence.read(settings.getClass().getName()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue