From 037fc0d7e6419ea26fc61a84fa48c3450a807c3b Mon Sep 17 00:00:00 2001 From: crschnick Date: Fri, 7 Nov 2025 02:46:44 +0000 Subject: [PATCH] Netbird rework --- .../java/io/xpipe/app/prefs/WorkspaceCreationDialog.java | 3 +++ .../main/java/io/xpipe/app/storage/StorageElement.java | 2 +- lang/strings/translations_en.properties | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/xpipe/app/prefs/WorkspaceCreationDialog.java b/app/src/main/java/io/xpipe/app/prefs/WorkspaceCreationDialog.java index 71e9cdf0b..0ddc849c1 100644 --- a/app/src/main/java/io/xpipe/app/prefs/WorkspaceCreationDialog.java +++ b/app/src/main/java/io/xpipe/app/prefs/WorkspaceCreationDialog.java @@ -81,7 +81,10 @@ public class WorkspaceCreationDialog { exec, "open -d \"" + path.get() + "\" --accept-eula", shortcutName); } }; + + // This is an async action, so sleep DesktopHelper.browseFileInDirectory(file); + ThreadHelper.sleep(1000); AppOperationMode.close(); } catch (Exception e) { ErrorEventFactory.fromThrowable(e).handle(); diff --git a/app/src/main/java/io/xpipe/app/storage/StorageElement.java b/app/src/main/java/io/xpipe/app/storage/StorageElement.java index d4c1a5a07..a4794a70d 100644 --- a/app/src/main/java/io/xpipe/app/storage/StorageElement.java +++ b/app/src/main/java/io/xpipe/app/storage/StorageElement.java @@ -76,7 +76,7 @@ public abstract class StorageElement { var changed = expanded != this.expanded; this.expanded = expanded; if (changed) { - notifyUpdate(false, true); + notifyUpdate(false, false); } } diff --git a/lang/strings/translations_en.properties b/lang/strings/translations_en.properties index d477957ae..810c9f7c3 100644 --- a/lang/strings/translations_en.properties +++ b/lang/strings/translations_en.properties @@ -1687,3 +1687,12 @@ rdpAskpassPassword=Password for user $USER$ inPlaceKey=In-place key inPlaceKeyText=Private key content inPlaceKeyTextDescription=The private key contents +netbirdSelfhosted=Self-hosted netbird instance +netbirdSelfhostedDescription=Provide a custom URL instead of using the cloud-hosted version +netbirdManagementUrl=Netbird management URL +netbirdManagementUrlDescription=The management URL of your self-hosted instance +netbirdSetupKey=Setup key +netbirdSetupKeyDescription=If you are using setup keys, you can use one for login +netbirdLogin=Netbird login +addProfile=Add profile +netbirdProfileNameAsktext=Name of new netbird profile