MCPcopy
hub / github.com/ThatGuySam/doesitarm / bundleExecutablePath

Method bundleExecutablePath

helpers/scanner/scan.ts:211–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209 }
210
211 get bundleExecutablePath () {
212 const bundleExecutable = this.infoPlist.CFBundleExecutable
213
214 if ( !isNonEmptyString( bundleExecutable ) ) return ''
215
216 const executablePath = String( bundleExecutable )
217
218 if ( executablePath.includes( '/' ) ) return `/Contents/${ executablePath }`
219
220 return `/Contents/MacOS/${ executablePath }`
221 }
222
223 get supportedArchitectures () {
224 return this.machoMeta.architectures.filter( architecture => architecture.processorType !== 0 )

Callers

nothing calls this directly

Calls 1

isNonEmptyStringFunction · 0.90

Tested by

no test coverage detected