pub struct Builder<'a> { /* private fields */ }
Expand description
A builder for creating an execution context to sign an installer.
Implementations§
source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
sourcepub fn package(&mut self, p: Option<&'a str>) -> &mut Self
pub fn package(&mut self, p: Option<&'a str>) -> &mut Self
Sets the package on which to operate during this build
sourcepub fn bin_path(&mut self, b: Option<&'a str>) -> &mut Self
pub fn bin_path(&mut self, b: Option<&'a str>) -> &mut Self
Sets the path to the folder containing the signtool.exe
file.
sourcepub fn capture_output(&mut self, c: bool) -> &mut Self
pub fn capture_output(&mut self, c: bool) -> &mut Self
Enables or disables capturing of the output from the signtool
application.
The default is to capture all output, i.e. display nothing in the console but the log statements.
sourcepub fn description(&mut self, d: Option<&'a str>) -> &mut Self
pub fn description(&mut self, d: Option<&'a str>) -> &mut Self
Sets the description.
This override the description obtained from the description
field in
the package’s manifest (Cargo.toml).
The description is displayed in the ACL dialog.
sourcepub fn homepage(&mut self, h: Option<&'a str>) -> &mut Self
pub fn homepage(&mut self, h: Option<&'a str>) -> &mut Self
Sets the homepage URL that is displayed in the ACL dialog.
The default is to use the value for the homepage
field in the
package’s manifest (Cargo.toml) if it exists; otherwise, a URL
is not displayed in the ACL dialog.
sourcepub fn input(&mut self, i: Option<&'a str>) -> &mut Self
pub fn input(&mut self, i: Option<&'a str>) -> &mut Self
Sets the path to a package’s manifest (Cargo.toml).
sourcepub fn product_name(&mut self, p: Option<&'a str>) -> &mut Self
pub fn product_name(&mut self, p: Option<&'a str>) -> &mut Self
Sets the product name.
The default is to use the value for the name
field in the package’s
manifest (Cargo.toml).