feat: updates

This commit is contained in:
2025-03-23 23:18:32 +08:00
parent 70ad2df11a
commit f1ddc02707

View File

@@ -1,6 +1,6 @@
use base64::engine::general_purpose::STANDARD;
use base64::Engine;
use rust_util::{debugging, opt_result, simple_error, XResult};
use base64::engine::general_purpose::STANDARD;
use rust_util::{XResult, debugging, opt_result, simple_error};
use std::process::{Command, Output};
const SWIFT_SECURE_ENCLAVE_TOOL_CMD: &str = "swift-secure-enclave-tool";
@@ -106,6 +106,7 @@ fn run_command(mut cmd: Command) -> XResult<Output> {
match output {
Err(e) => simple_error!("Run command failed: {:?}", e),
Ok(output) => {
debugging!("Output: {:?}", output);
if !output.status.success() {
simple_error!("Run command not success: {:?}", output.status.code())
} else {