Stop ctrl W from closing the window (now on windows
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user