mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-09-25 09:31:05 +00:00
fix: appimage
NEKI STOP MESSING WITH IT:
This commit is contained in:
@@ -13,7 +13,7 @@ fn main() {
|
||||
let mut cmd = Command::new(env::current_exe().unwrap());
|
||||
cmd.env("EMERALD_LAUNCH_STAGE", "1");
|
||||
|
||||
let wayland_libs = ["/usr/lib/libwayland-client.so.0", "/usr/lib64/libwayland-client.so.0"];
|
||||
let wayland_libs = ["/usr/lib64/libwayland-client.so.0", "/usr/lib/libwayland-client.so.0"];
|
||||
if let Some(path) = wayland_libs.iter().find(|p| std::path::Path::new(p).exists()) {
|
||||
cmd.env("LD_PRELOAD", path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user