mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-20 06:28:19 +02:00
feat: cross-OS profile sync
This commit is contained in:
1 parent
b7a89ac94e
commit
c359049e09
28 files changed
+532
-122
No files matched your search
@@ -1554,10 +1554,11 @@ test("profile notes save through the inspector and real launch failures retain a
|
||||
)?.note === "Remember the launch context",
|
||||
{ description: "note saved" },
|
||||
);
|
||||
// A cross-platform launch is rejected before starting any process.
|
||||
// A profile bound to another OS is rejected before starting any process.
|
||||
// Wayfern profiles run on every OS, so the bound one is another browser's.
|
||||
const otherOs = process.platform === "darwin" ? "linux" : "macos";
|
||||
await app.invokeError("launch_browser_profile", {
|
||||
profile: { ...profile, host_os: otherOs },
|
||||
profile: { ...profile, browser: "camoufox", host_os: otherOs },
|
||||
url: null,
|
||||
});
|
||||
await waitForSelector(
|
||||
|
||||
Reference in new issue
Block a user