mirror of
https://github.com/AventurasTeam/Aventuras.git
synced 2026-04-28 03:40:11 +00:00
Merge pull request #35 from failerko/fix/appimage-nostart
fix: appimage not launching
This commit is contained in:
commit
055fb0a035
1 changed files with 5 additions and 0 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue