浏览代码

fix: add priority field in debian/control (#3865)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Antoine Chauvin 3 年之前
父节点
当前提交
3bd3d923d3
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 5 0
      .changes/debian-priority.md
  2. 1 0
      tooling/bundler/src/bundle/linux/debian.rs

+ 5 - 0
.changes/debian-priority.md

@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch
+---
+
+Set the Debian control file `Priority` field to `optional`.

+ 1 - 0
tooling/bundler/src/bundle/linux/debian.rs

@@ -203,6 +203,7 @@ fn generate_control_file(
       writeln!(file, " {}", line)?;
       writeln!(file, " {}", line)?;
     }
     }
   }
   }
+  writeln!(file, "Priority: optional")?;
   file.flush()?;
   file.flush()?;
   Ok(())
   Ok(())
 }
 }