Struct tauri_bundler::bundle::RpmSettings
source · pub struct RpmSettings {
pub depends: Option<Vec<String>>,
pub release: String,
pub epoch: u32,
pub files: HashMap<PathBuf, PathBuf>,
pub desktop_template: Option<PathBuf>,
}
Expand description
The RPM bundle settings.
Fields§
§depends: Option<Vec<String>>
The list of RPM dependencies your application relies on.
release: String
The RPM release tag.
epoch: u32
The RPM epoch.
files: HashMap<PathBuf, PathBuf>
List of custom files to add to the RPM package. Maps the path on the RPM 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
{{#if mime_type}}
MimeType={{mime_type}}
{{/if}}
Trait Implementations§
source§impl Clone for RpmSettings
impl Clone for RpmSettings
source§fn clone(&self) -> RpmSettings
fn clone(&self) -> RpmSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RpmSettings
impl Debug for RpmSettings
source§impl Default for RpmSettings
impl Default for RpmSettings
source§fn default() -> RpmSettings
fn default() -> RpmSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RpmSettings
impl Send for RpmSettings
impl Sync for RpmSettings
impl Unpin for RpmSettings
impl UnwindSafe for RpmSettings
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
Mutably borrows from an owned value. Read more
§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>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.