mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
feat: rebuild desktop sync as linked server accounts, fix packaged plugin bundles and UI scaling
This commit is contained in:
1 parent
7c02daccf4
commit
6cd9a2846d
242 files changed
+39127
-8558
No files matched your search
@@ -34,6 +34,7 @@ import {
|
||||
Input,
|
||||
PasswordInput,
|
||||
isElectron,
|
||||
linkedServerUrl,
|
||||
resolveConnectionOrigin,
|
||||
useConnectionLog,
|
||||
type ConnectionOrigin,
|
||||
@@ -309,10 +310,7 @@ const GuacamoleAppInner = React.forwardRef<
|
||||
{ defaultRemote: true },
|
||||
);
|
||||
if (resolvedOrigin === "remote") {
|
||||
const remoteConfig = (await window.electronAPI?.invoke?.(
|
||||
"get-remote-sync-config",
|
||||
)) as { serverUrl?: string } | null;
|
||||
if (!remoteConfig?.serverUrl) {
|
||||
if (!(await linkedServerUrl())) {
|
||||
throw new Error(t("errors.remoteServerRequired"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user