fix appimage

This commit is contained in:
amrbashir
2024-11-17 16:14:16 +02:00
parent 4dfbb13520
commit e9937b2220
2 changed files with 2 additions and 2 deletions
@@ -48,7 +48,7 @@ fn main() {
}
Err(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
let mut app_cmd = Command::new(app);
#[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.arg("--auto-servernum").arg(app);
};