fix: failed to install service on macos

This commit is contained in:
huzibaca
2024-10-23 04:46:47 +08:00
parent 86d2234713
commit ecb5f0885c
3 changed files with 16 additions and 6 deletions

View File

@@ -206,7 +206,7 @@ pub fn init_resources() -> Result<()> {
let src_path = res_dir.join(file);
let dest_path = app_dir.join(file);
let test_dest_path = test_dir.join(file);
log::info!(target: "app", "src_path: {src_path:?}, dest_path: {dest_path:?}");
log::debug!(target: "app", "src_path: {src_path:?}, dest_path: {dest_path:?}");
let handle_copy = |dest: &PathBuf| {
match fs::copy(&src_path, dest) {