remove dbg logs in deb bundler

This commit is contained in:
FabianLars
2026-03-16 16:12:16 +01:00
parent 646fef61f2
commit ba06167f2e
2 changed files with 3 additions and 1 deletions

View File

@@ -448,7 +448,7 @@ fn create_tar_from_dir<P: AsRef<Path>, W: Write>(src_dir: P, dest_file: W) -> cr
header.set_mtime(stat_metadata.mtime() as u64);
header.set_entry_type(tar::EntryType::Symlink);
let target_path = fs::read_link(src_path)?;
tar_builder.append_link(&mut header, dbg!(dest_path), dbg!(target_path))?;
tar_builder.append_link(&mut header, dest_path, target_path)?;
} else {
let stat = fs::metadata(src_path)?;
let mut header = tar::Header::new_gnu();

View File

@@ -310,6 +310,8 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
}
}
log::info!(action = "Bundling"; "Creating .rpm file...");
let pkg = if let Ok(raw_secret_key) = env::var("TAURI_SIGNING_RPM_KEY") {
let mut signer = pgp::Signer::load_from_asc(&raw_secret_key)?;
if let Ok(passphrase) = env::var("TAURI_SIGNING_RPM_KEY_PASSPHRASE") {