Skip to main content

bundle_executable

Function bundle_executable 

Source
pub fn bundle_executable(plugin: &Path) -> Result<PathBuf, RenderError>
Expand description

The executable inside a plug-in bundle: Contents/MacOS/<name>.

<name> is the CFBundleExecutable of the bundle’s XML Info.plist. A binary Info.plist gives the bundle’s name without .vst3. A path that is a file is its own executable.

§Errors

Returns RenderError::Host when plugin is a folder without Contents/Info.plist or without the executable the bundle names, and when its Info.plist cannot be read.