Match main executable both ways

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

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