mirror of
https://github.com/lanyeeee/bilibili-video-downloader.git
synced 2026-05-06 20:02:57 +08:00
fix: 解决Ubuntu 24.04窗口全白的问题
This commit is contained in:
@@ -69,6 +69,10 @@ pub fn run() {
|
||||
)
|
||||
.expect("Failed to export typescript bindings");
|
||||
|
||||
// 解决Ubuntu24.04窗口全白的问题
|
||||
#[cfg(target_os = "linux")]
|
||||
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
|
||||
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_dialog::init())
|
||||
.plugin(tauri_plugin_os::init())
|
||||
|
||||
Reference in New Issue
Block a user