mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
remove dbg logs in deb bundler
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user