Struct tauri_bundler::bundle::WindowsSettings
source · [−]pub struct WindowsSettings {
pub digest_algorithm: Option<String>,
pub certificate_thumbprint: Option<String>,
pub timestamp_url: Option<String>,
pub tsp: bool,
pub wix: Option<WixSettings>,
pub icon_path: PathBuf,
pub webview_fixed_runtime_path: Option<PathBuf>,
pub allow_downgrades: bool,
}
Expand description
The Windows bundle settings.
Fields
digest_algorithm: Option<String>
The file digest algorithm to use for creating file signatures. Required for code signing. SHA-256 is recommended.
certificate_thumbprint: Option<String>
The SHA1 hash of the signing certificate.
timestamp_url: Option<String>
Server to use during timestamping.
tsp: bool
Whether to use Time-Stamp Protocol (TSP, a.k.a. RFC 3161) for the timestamp server. Your code signing provider may use a TSP timestamp server, like e.g. SSL.com does. If so, enable TSP by setting to true.
wix: Option<WixSettings>
WiX configuration.
icon_path: PathBuf
The path to the application icon. Defaults to ./icons/icon.ico
.
webview_fixed_runtime_path: Option<PathBuf>
Path to the webview fixed runtime to use.
allow_downgrades: bool
Validates a second app installation, blocking the user from installing an older version if set to false
.
For instance, if 1.2.1
is installed, the user won’t be able to install app version 1.2.0
or 1.1.5
.
/// The default value of this flag is true
.
Trait Implementations
sourceimpl Clone for WindowsSettings
impl Clone for WindowsSettings
sourcefn clone(&self) -> WindowsSettings
fn clone(&self) -> WindowsSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowsSettings
impl Debug for WindowsSettings
Auto Trait Implementations
impl RefUnwindSafe for WindowsSettings
impl Send for WindowsSettings
impl Sync for WindowsSettings
impl Unpin for WindowsSettings
impl UnwindSafe for WindowsSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn 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
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn 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()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.