Desktop :3
This commit is contained in:
@@ -7,10 +7,12 @@
|
||||
// needs on some linux setups. run it on the app folder after deno desktop builds it; running it again does nothing
|
||||
|
||||
const SWITCHES = [
|
||||
"--enable-unsafe-webgpu",
|
||||
"--ozone-platform=x11",
|
||||
"--enable-features=UseOzonePlatform,Vulkan,VulkanFromANGLE",
|
||||
// "--enable-unsafe-webgpu",
|
||||
"--use-angle=vulkan",
|
||||
"--enable-features=Vulkan,VulkanFromANGLE",
|
||||
"--ozone-platform=wayland",
|
||||
"--enable-wayland-ime",
|
||||
"--wayland-text-input-version=3",
|
||||
];
|
||||
|
||||
if (import.meta.main) {
|
||||
@@ -20,7 +22,7 @@ if (import.meta.main) {
|
||||
}
|
||||
const dir = Deno.args[0];
|
||||
if (!dir) {
|
||||
console.error("usage: linux_launcher.ts <app folder>, like dist/bworld");
|
||||
console.error("usage: linux_launcher.ts <app folder>, like dist/cubi");
|
||||
Deno.exit(1);
|
||||
}
|
||||
wrap_linux_launcher(dir);
|
||||
|
||||
Reference in New Issue
Block a user