fix(tauri): set WEBKIT_DISABLE_DMABUF_RENDERER=1 on Linux to prevent white screen

This commit is contained in:
2026-07-16 15:03:10 -04:00
parent a8cb5c5933
commit b0d820cd92
+4
View File
@@ -2,5 +2,9 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
#[cfg(target_os = "linux")]
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
app_lib::run();
}