Match main executable both ways

This commit is contained in:
Sam Carlton 2022-07-19 21:35:05 -05:00
parent 3eb703ba2f
commit e61f9e7233

View file

@ -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 )
})