mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Match main executable both ways
This commit is contained in:
parent
3eb703ba2f
commit
e61f9e7233
1 changed files with 6 additions and 0 deletions
|
|
@ -299,8 +299,14 @@ export class AppScan {
|
||||||
}
|
}
|
||||||
|
|
||||||
findMainExecutable () {
|
findMainExecutable () {
|
||||||
|
|
||||||
// Now that we have the info.plist Determine our entry Macho Executable from the list of Macho Executables
|
// Now that we have the info.plist Determine our entry Macho Executable from the list of Macho Executables
|
||||||
const bundleExecutables = this.machoExcutables.filter( machoEntry => {
|
const bundleExecutables = this.machoExcutables.filter( machoEntry => {
|
||||||
|
|
||||||
|
if ( machoEntry.filename.includes( this.bundleExecutablePath ) ) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
return this.bundleExecutablePath.includes( machoEntry.filename )
|
return this.bundleExecutablePath.includes( machoEntry.filename )
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue