We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea714b1 commit 626c305Copy full SHA for 626c305
src/main.rs
@@ -1059,7 +1059,8 @@ fn main() {
1059
.to_path_buf();
1060
let lib_path = exe_dir.join(lib_name);
1061
1062
- if !lib_path.exists() {
+ if !lib_path.exists() &&
1063
+ /* we should not extract if in appimage, since it has the library bundled in a different way */ std::env::var("APPIMAGE").is_err() {
1064
println!("Extracting {}...", lib_name);
1065
let lib_bytes = include_bytes_zstd::include_bytes_zstd!("resources/libsciter.so", 19);
1066
let mut file = std::fs::File::create(&lib_path).expect("Failed to create libsciter.so");
0 commit comments