fix appimage

pull/2060/head
amrbashir 7 months ago
parent 4dfbb13520
commit e9937b2220
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33

@ -48,7 +48,7 @@ fn main() {
} }
Err(e) => { Err(e) => {
eprintln!("{e}"); eprintln!("{e}");
std::process::exit(1); std::process::exit(3);
} }
} }
}); });

@ -146,7 +146,7 @@ fn test_update(app: &Path, update_bundle: PathBuf, signature: PathBuf, target: &
// run app // run app
let mut app_cmd = Command::new(app); let mut app_cmd = Command::new(app);
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
let mut app_cmd = if std::env::var("CI").map(|v| v == "true").unwrap_or_default() { if std::env::var("CI").map(|v| v == "true").unwrap_or_default() {
app_cmd = Command::new("xvfb-run"); app_cmd = Command::new("xvfb-run");
app_cmd.arg("--auto-servernum").arg(app); app_cmd.arg("--auto-servernum").arg(app);
}; };

Loading…
Cancel
Save