mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
remove stdout appender in terminal mode
This commit is contained in:
parent
d6a3824690
commit
c4c581525a
2 changed files with 2 additions and 1 deletions
2
drongo
2
drongo
|
@ -1 +1 @@
|
||||||
Subproject commit f183146d13c61f71ee6df77bf40a56677077ab6b
|
Subproject commit 7c34ec7c3b818634b7819f1b27a5f9c57f5554c8
|
|
@ -88,6 +88,7 @@ public class SparrowWallet {
|
||||||
|
|
||||||
if(args.terminal || java.awt.GraphicsEnvironment.isHeadless()) {
|
if(args.terminal || java.awt.GraphicsEnvironment.isHeadless()) {
|
||||||
PlatformImpl.setTaskbarApplication(false);
|
PlatformImpl.setTaskbarApplication(false);
|
||||||
|
Drongo.removeRootLogAppender("STDOUT");
|
||||||
com.sun.javafx.application.LauncherImpl.launchApplication(SparrowTerminal.class, SparrowWalletPreloader.class, argv);
|
com.sun.javafx.application.LauncherImpl.launchApplication(SparrowTerminal.class, SparrowWalletPreloader.class, argv);
|
||||||
} else {
|
} else {
|
||||||
com.sun.javafx.application.LauncherImpl.launchApplication(SparrowDesktop.class, SparrowWalletPreloader.class, argv);
|
com.sun.javafx.application.LauncherImpl.launchApplication(SparrowDesktop.class, SparrowWalletPreloader.class, argv);
|
||||||
|
|
Loading…
Reference in a new issue