mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-06 15:11:38 +00:00
Small linux fixes
This commit is contained in:
1 parent
5f7a37279f
commit
2bc508d448
3 files changed
+6
-2
No files matched your search
@@ -8,7 +8,7 @@ public class AppFontCheck {
|
||||
try {
|
||||
Font.getDefault();
|
||||
} catch (Throwable t) {
|
||||
throw new IllegalStateException("Unable to load any fonts. Check whether your system is properly configured with fontconfig", t);
|
||||
throw new IllegalStateException("Unable to load any fonts. Check whether your system is properly configured with fontconfig and you have any fonts installed", t);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ public class TerminalErrorHandler extends GuiErrorHandlerBase implements ErrorHa
|
||||
handleWithSecondaryException(event, throwable);
|
||||
ErrorAction.ignore().handle(event);
|
||||
})) {
|
||||
// Exit if we couldn't initialize the GUI
|
||||
OperationMode.halt(1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user