Small macos fixes

This commit is contained in:
crschnick
2025-07-16 22:48:43 +00:00
parent d75d75d5c2
commit c4cfcdcdc1
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
.root:macos .browser .browser-content, .root:macos .browser .top-bar {
-fx-font-family: "Roboto";
}
.browser .visual-display {
-fx-border-color: -color-border-default;
-fx-border-width: 2 1 1 1;

View File

@@ -95,7 +95,8 @@ public class SshIdentityStateManager {
.start()) {
var r = c.readStdoutAndStderr();
if (c.getExitCode() != 0) {
var posixMessage = sc.getOsType() != OsType.WINDOWS ? " and the SSH_AUTH_SOCK variable." : "";
var posixMessage = sc.getOsType() != OsType.WINDOWS ? authSock != null ? " and the socket " + authSock + "."
: " and the SSH_AUTH_SOCK variable." : "";
var ex = new IllegalStateException("Unable to list agent identities via command ssh-add -l:\n" + r[0]
+ "\n"
+ r[1]