extract_path_from_executable

Function extract_path_from_executable 

Source
pub fn extract_path_from_executable(executable_path: &Path) -> Result<PathBuf>
Expand description

Derive the target extract/installation path from the current executable path.

On macOS, this transforms /Applications/App.app/Contents/MacOS/App into /Applications/App.app.