diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json index 358baf9..b04f710 100644 --- a/apps/desktop/src-tauri/tauri.conf.json +++ b/apps/desktop/src-tauri/tauri.conf.json @@ -16,7 +16,8 @@ "title": "Raven", "width": 1100, "height": 720, - "resizable": true + "resizable": true, + "icon": "icons/icon.png" } ], "security": { @@ -40,6 +41,9 @@ "nsis" ], "icon": [ + "icons/icon.ico", + "icons/icon.icns", + "icons/icon.png", "icons/Raven.png" ] } diff --git a/apps/desktop/src/main.tsx b/apps/desktop/src/main.tsx index 9c31c20..cde647d 100644 --- a/apps/desktop/src/main.tsx +++ b/apps/desktop/src/main.tsx @@ -221,13 +221,7 @@ function App() { async function openSystem() { if (!token || !config) return const url = `${resolvedAppUrl}/machines/handshake?token=${encodeURIComponent(token)}` - try { - // open in default browser; fallback to in-webview - const { openUrl } = await import("@tauri-apps/plugin-opener") - await openUrl(url) - } catch { - window.location.replace(url) - } + window.location.href = url } async function reprovision() {