pub trait PostInstall: Send {
// Required method
fn post_install(&mut self, cache: &Path, content_dir: &Path, bin_dir: &Path);
}
Expand description
Represents a custom post install step
Required Methods§
Sourcefn post_install(&mut self, cache: &Path, content_dir: &Path, bin_dir: &Path)
fn post_install(&mut self, cache: &Path, content_dir: &Path, bin_dir: &Path)
Called after all installations have been performed (only if a PostInstall has been defined in InstallerBuilder)
§Arguments
cache
- access to the cache pathcontent_dir
- access to the content directory of the installed applicationbin_dir
- access to the binary directory (directory which is present in PATH when one or more AddToPath rules are present)