Struct tauri_bundler::bundle::NsisSettings
source · pub struct NsisSettings {
pub license: Option<PathBuf>,
pub header_image: Option<PathBuf>,
pub sidebar_image: Option<PathBuf>,
pub installer_icon: Option<PathBuf>,
pub install_mode: NSISInstallerMode,
pub languages: Option<Vec<String>>,
pub display_language_selector: bool,
}
Expand description
Settings specific to the NSIS implementation.
Fields§
§license: Option<PathBuf>
The path to the license file to render on the installer.
header_image: Option<PathBuf>
The path to a bitmap file to display on the header of installers pages.
The recommended dimensions are 150px x 57px.
The path to a bitmap file for the Welcome page and the Finish page.
The recommended dimensions are 164px x 314px.
installer_icon: Option<PathBuf>
The path to an icon file used as the installer icon.
install_mode: NSISInstallerMode
Whether the installation will be for all users or just the current user.
languages: Option<Vec<String>>
A list of installer languages.
By default the OS language is used. If the OS language is not in the list of languages, the first language will be used.
To allow the user to select the language, set display_language_selector
to true
.
See https://github.com/kichik/nsis/tree/9465c08046f00ccb6eda985abbdbf52c275c6c4d/Contrib/Language%20files for the complete list of languages.
display_language_selector: bool
Whether to display a language selector dialog before the installer and uninstaller windows are rendered or not.
By default the OS language is selected, with a fallback to the first language in the languages
array.
Trait Implementations§
source§impl Clone for NsisSettings
impl Clone for NsisSettings
source§fn clone(&self) -> NsisSettings
fn clone(&self) -> NsisSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NsisSettings
impl Debug for NsisSettings
source§impl Default for NsisSettings
impl Default for NsisSettings
source§fn default() -> NsisSettings
fn default() -> NsisSettings
Auto Trait Implementations§
impl RefUnwindSafe for NsisSettings
impl Send for NsisSettings
impl Sync for NsisSettings
impl Unpin for NsisSettings
impl UnwindSafe for NsisSettings
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 Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
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()
.