Merge pull request #35 from failerko/fix/appimage-nostart

fix: appimage not launching
This commit is contained in:
unkarelian 2026-01-18 08:58:50 -07:00 committed by GitHub
commit 055fb0a035
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,5 +2,10 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
// Workaround for "Failed to create GBM buffer" on Linux (e.g. Wayland/NVIDIA).
// This disables the DMA-BUF renderer, forcing a more compatible fallback.
#[cfg(target_os = "linux")]
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
aventura_lib::run()
}