From edcea2ad89e28052f8f7c0d5aaea682f3e111b2f Mon Sep 17 00:00:00 2001 From: amr-crabnebula Date: Mon, 15 Apr 2024 08:47:21 +0200 Subject: [PATCH] fix ubuntu --- crates/packager/src/package/deb/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/packager/src/package/deb/mod.rs b/crates/packager/src/package/deb/mod.rs index 371c1766..d6329567 100644 --- a/crates/packager/src/package/deb/mod.rs +++ b/crates/packager/src/package/deb/mod.rs @@ -8,7 +8,7 @@ use std::{ collections::{BTreeSet, HashMap}, ffi::OsStr, fs::File, - io::Write, + io::{BufReader, Write}, os::unix::fs::MetadataExt, path::{Path, PathBuf}, }; @@ -58,7 +58,9 @@ fn generate_icon_files(config: &Config, data_dir: &Path) -> crate::Result