Struct tauri_bundler::bundle::Settings [−][src]
pub struct Settings { /* fields omitted */ }
The Settings exposed by the module.
Implementations
impl Settings
[src]
impl Settings
[src]pub fn project_out_directory(&self) -> &Path
[src]
Returns the directory where the bundle should be placed.
pub fn binary_arch(&self) -> &str
[src]
Returns the architecture for the binary being bundled (e.g. “arm”, “x86” or “x86_64”).
pub fn main_binary_name(&self) -> &str
[src]
Returns the file name of the binary being bundled.
pub fn binary_path(&self, binary: &BundleBinary) -> PathBuf
[src]
Returns the path to the specified binary.
pub fn binaries(&self) -> &Vec<BundleBinary>
[src]
pub fn package_types(&self) -> Result<Vec<PackageType>>
[src]
If a list of package types was specified by the command-line, returns that list filtered by the current target OS available targets.
If a target triple was specified by the command-line, returns the native package type(s) for that target.
Otherwise returns the native package type(s) for the host platform.
Fails if the host/target’s native package type is not supported.
pub fn is_verbose(&self) -> bool
[src]
Returns true if verbose logging is enabled
pub fn product_name(&self) -> &str
[src]
Returns the product name.
pub fn bundle_identifier(&self) -> &str
[src]
Returns the bundle’s identifier
pub fn icon_files(&self) -> ResourcePaths<'_>
[src]
Returns an iterator over the icon files to be used for this bundle.
pub fn resource_files(&self) -> ResourcePaths<'_>
[src]
Returns an iterator over the resource files to be included in this bundle.
pub fn external_binaries(&self) -> ResourcePaths<'_>
[src]
Returns an iterator over the external binaries to be included in this bundle.
pub fn copy_binaries(&self, path: &Path) -> Result<()>
[src]
Copies external binaries to a path.
pub fn copy_resources(&self, path: &Path) -> Result<()>
[src]
Copies resources to a path.
pub fn version_string(&self) -> &str
[src]
Returns the version string of the bundle.
pub fn copyright_string(&self) -> Option<&str>
[src]
Returns the copyright text.
pub fn author_names(&self) -> &[String]
[src]
Returns the list of authors name.
pub fn authors_comma_separated(&self) -> Option<String>
[src]
Returns the authors as a comma-separated string.
pub fn homepage_url(&self) -> &str
[src]
Returns the package’s homepage URL, defaulting to “” if not defined.
pub fn app_category(&self) -> Option<AppCategory>
[src]
Returns the app’s category.
pub fn short_description(&self) -> &str
[src]
Returns the app’s short description.
pub fn long_description(&self) -> Option<&str>
[src]
Returns the app’s long description.
pub fn deb(&self) -> &DebianSettings
[src]
Returns the debian settings.
pub fn macos(&self) -> &MacOsSettings
[src]
Returns the MacOS settings.
pub fn is_update_enabled(&self) -> bool
[src]
Is update enabled
pub fn is_updater_pubkey(&self) -> bool
[src]
Is pubkey provided?
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
impl UnwindSafe for Settings