({
binarySupportsNative,
supportedVersionNumber
})
| 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, |
no test coverage detected