Hacker News new | ask | show | jobs
by undefined_void 38 days ago
Try the webview backend: `deno desktop --backend webview`
2 comments

This gives a 77 MB folder, not containing the browser (we're now using the OS' webview).

I wouldn't call this "Small by default".

I used this main.ts file: `Deno.serve(() => new Response("<h1>Hello, desktop</h1>", { headers: { "content-type": "text/html" }, }));`

and `deno desktop --backend webview main.ts`.

Unfortunately, launching `deno-test.bat` opens an empty white window, freezed (with waiting cursor...) on my Windows 10.

apologies, this is inaccurate currently, will get things updated