feat: Added QR login
fix: Fixed webview for windows builds
This commit is contained in:
parent
01b91aa48c
commit
4739b89933
26 changed files with 545 additions and 83 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue