Stop ctrl W from closing the window (now on windows

This commit is contained in:
2026-10-05 11:07:05 -03:00
parent 505a8598b1
commit 5d4b91b3a1
2 changed files with 22 additions and 4 deletions
+5
View File
@@ -2,6 +2,11 @@
// deno desktop has no setting for chromium's command line, but its linux launcher passes its arguments on to chromium.
// so this moves the launcher to bworld-bin and puts a script in its place that starts it with the switches webgpu
// needs on some linux setups. run it on the app folder after deno desktop builds it; running it again does nothing
if (Deno.build.os !== "linux") {
Deno.exit(0);
}
const SWITCHES = [
"--enable-unsafe-webgpu",
"--ozone-platform=x11",