diff --git a/helpers/scanner/client.js b/helpers/scanner/client.js index f7723cb..c4d6ca6 100644 --- a/helpers/scanner/client.js +++ b/helpers/scanner/client.js @@ -299,8 +299,14 @@ export class AppScan { } findMainExecutable () { + // Now that we have the info.plist Determine our entry Macho Executable from the list of Macho Executables const bundleExecutables = this.machoExcutables.filter( machoEntry => { + + if ( machoEntry.filename.includes( this.bundleExecutablePath ) ) { + return true + } + return this.bundleExecutablePath.includes( machoEntry.filename ) })