feat: Added QR login

fix: Fixed webview for windows builds
This commit is contained in:
Simeon Radivoev 2026-03-03 15:51:47 +02:00
parent 01b91aa48c
commit 4739b89933
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
26 changed files with 545 additions and 83 deletions

View file

@ -1,5 +1,4 @@
import Webview from "@rcompat/webview";
import platform from "@rcompat/webview/linux-x64";
import { Webview } from 'webview-bun';
import webviewWorkerBase from "./base";
if (process.env.FLATPAK_BUILD === "true")
@ -29,6 +28,6 @@ if (process.env.FLATPAK_BUILD === "true")
} else
{
console.log("Launching Webview");
const webview = new Webview({ debug: import.meta.env.NODE_ENV === 'development', platform });
const webview = new Webview(import.meta.env.NODE_ENV === 'development');
webviewWorkerBase(webview);
}