mirror of
https://github.com/neosubhamoy/neodlp.git
synced 2026-03-22 06:55:51 +05:30
fix: unable to create app window on wayland with nvidia gpu
This commit is contained in:
570
src-tauri/Cargo.lock
generated
570
src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -3,5 +3,12 @@
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
if std::env::var("WEBKIT_DISABLE_DMABUF_RENDERER").is_err() {
|
||||
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
|
||||
}
|
||||
}
|
||||
|
||||
neodlp_lib::run().await
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user