mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-25 18:56:39 +00:00
Small fixes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package io.xpipe.app.core.check;
|
||||
|
||||
import io.xpipe.app.core.mode.OperationMode;
|
||||
import io.xpipe.app.issue.ErrorAction;
|
||||
import io.xpipe.app.issue.ErrorEvent;
|
||||
import io.xpipe.app.issue.LogErrorHandler;
|
||||
import javafx.scene.text.Font;
|
||||
@@ -16,6 +17,7 @@ public class AppFontLoadingCheck {
|
||||
// We can't use the normal error handling facility
|
||||
// as the platform reports as working but opening windows still does not work
|
||||
new LogErrorHandler().handle(event);
|
||||
ErrorAction.ignore().handle(event);
|
||||
OperationMode.halt(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,9 +21,7 @@ public class ShellTemp {
|
||||
if (OsType.getLocal().equals(OsType.LINUX)) {
|
||||
var user = System.getenv("USER");
|
||||
temp = temp.resolve(user != null ? user : "user");
|
||||
}
|
||||
|
||||
if (OsType.getLocal() != OsType.WINDOWS) {
|
||||
try {
|
||||
// We did not set this in earlier versions. If we are running as a different user, it might fail
|
||||
Files.setPosixFilePermissions(temp, PosixFilePermissions.fromString("rwxrwxrwx"));
|
||||
|
||||
Reference in New Issue
Block a user