pub struct CreateDmgOptions {
pub volume_name: String,
pub app: PathBuf,
pub output: PathBuf,
pub window: DmgWindow,
pub format: Option<String>,
pub background: Option<PathBuf>,
pub hide_app_extension: bool,
pub no_internet_enable: bool,
}Available on macOS and crate feature
dmg only.Expand description
Options for creating a macOS DMG with create-dmg.
Fields§
§volume_name: StringVolume name shown in Finder.
app: PathBuf.app bundle to place in the DMG.
output: PathBufOutput DMG path.
window: DmgWindowFinder window layout.
format: Option<String>Optional create-dmg --format value, such as ULMO.
background: Option<PathBuf>Optional background image.
hide_app_extension: boolHide the .app filename extension.
no_internet_enable: boolDisable legacy internet-enable metadata.
Implementations§
Trait Implementations§
Source§impl Clone for CreateDmgOptions
impl Clone for CreateDmgOptions
Auto Trait Implementations§
impl Forget for CreateDmgOptions
impl Freeze for CreateDmgOptions
impl Move for CreateDmgOptions
impl RefUnwindSafe for CreateDmgOptions
impl Send for CreateDmgOptions
impl Sync for CreateDmgOptions
impl Unpin for CreateDmgOptions
impl UnsafeUnpin for CreateDmgOptions
impl UnwindSafe for CreateDmgOptions
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