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

Method getFinishedStatusMessage

helpers/app-files-scanner.js:354–370  ·  view source on GitHub ↗
({
        binarySupportsNative,
        supportedVersionNumber
    })

Source from the content-addressed store, hash-verified

352 }
353
354 getFinishedStatusMessage ({
355 binarySupportsNative,
356 supportedVersionNumber
357 }) {
358 if ( binarySupportsNative ) {
359 return '✅ This app is natively compatible with Apple Silicon!'
360 }
361
362 if ( supportedVersionNumber != null ) {
363 return [
364 '✅ A native version of this has been reported',
365 ( isString( supportedVersionNumber ) && supportedVersionNumber.length > 0 ) ? `as of v${ supportedVersionNumber }` : null
366 ].filter( Boolean ).join(' ')
367 }
368
369 return `🔶 This app file is not natively compatible with Apple Silicon and may only run via Rosetta 2 translation, however, software vendors will sometimes will ship separate install files for Intel and ARM instead of a single one. `
370 }
371
372 finishFileScan ( file, scanIndex, {
373 binarySupportsNative,

Callers 1

finishFileScanMethod · 0.95

Calls 1

isStringFunction · 0.90

Tested by

no test coverage detected