( appScan, includeVersion = true )
| 66 | } |
| 67 | |
| 68 | export function getStatusOfScan ( appScan, includeVersion = true ) { |
| 69 | const statusName = getStatusName( appScan['Result'] ) |
| 70 | |
| 71 | if (statusName === 'native') { |
| 72 | return [ |
| 73 | '✅ Yes, Native Apple Silicon Support', |
| 74 | includeVersion ? `reported as of v${appScan['App Version']}` : '' |
| 75 | ].join('') |
| 76 | } |
| 77 | |
| 78 | |
| 79 | |
| 80 | return '🔶 App has not yet been reported to be native to Apple Silicon' |
| 81 | } |
| 82 | |
| 83 | |
| 84 | export default statusesByIcon |
nothing calls this directly
no test coverage detected