Desktop :3

This commit is contained in:
2026-11-14 10:45:04 -03:00
parent 297d87164c
commit 605008f584
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -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);