mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-05-21 17:54:30 +00:00
fix: appimage
NEKI STOP MESSING WITH IT:
This commit is contained in:
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@@ -976,7 +976,7 @@ checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7"
|
||||
|
||||
[[package]]
|
||||
name = "emerald-legacy-launcher"
|
||||
version = "1.0.1"
|
||||
version = "1.1.0"
|
||||
dependencies = [
|
||||
"base64 0.21.7",
|
||||
"futures-util",
|
||||
|
||||
@@ -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