Struct tauri_bundler::bundle::DebianSettings
source · pub struct DebianSettings {
pub depends: Option<Vec<String>>,
pub files: HashMap<PathBuf, PathBuf>,
pub desktop_template: Option<PathBuf>,
pub section: Option<String>,
pub priority: Option<String>,
pub changelog: Option<PathBuf>,
}
Expand description
The Linux debian bundle settings.
Fields§
§depends: Option<Vec<String>>
the list of debian dependencies.
files: HashMap<PathBuf, PathBuf>
List of custom files to add to the deb package. Maps the path on the debian package to the path of the file to include (relative to the current working directory).
desktop_template: Option<PathBuf>
Path to a custom desktop file Handlebars template.
Available variables: categories
, comment
(optional), exec
, icon
and name
.
Default file contents:
[Desktop Entry]
Categories={{categories}}
{{#if comment}}
Comment={{comment}}
{{/if}}
Exec={{exec}}
Icon={{icon}}
Name={{name}}
Terminal=false
Type=Application
section: Option<String>
Define the section in Debian Control file. See : https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
priority: Option<String>
Change the priority of the Debian Package. By default, it is set to optional
.
Recognized Priorities as of now are : required
, important
, standard
, optional
, extra
changelog: Option<PathBuf>
Path of the uncompressed Changelog file, to be stored at /usr/share/doc/package-name/changelog.gz. See https://www.debian.org/doc/debian-policy/ch-docs.html#changelog-files-and-release-notes
Trait Implementations§
source§impl Clone for DebianSettings
impl Clone for DebianSettings
source§fn clone(&self) -> DebianSettings
fn clone(&self) -> DebianSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DebianSettings
impl Debug for DebianSettings
source§impl Default for DebianSettings
impl Default for DebianSettings
source§fn default() -> DebianSettings
fn default() -> DebianSettings
Auto Trait Implementations§
impl RefUnwindSafe for DebianSettings
impl Send for DebianSettings
impl Sync for DebianSettings
impl Unpin for DebianSettings
impl UnwindSafe for DebianSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian()
.