MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / getFileStatusMessage

Method getFileStatusMessage

helpers/app-files-scanner.js:116–141  ·  view source on GitHub ↗
( file )

Source from the content-addressed store, hash-verified

114 }
115
116 getFileStatusMessage ( file ) {
117
118
119 // CORS error - 'This page has asked not to be scanned. '
120
121 // Status Code Error - 'This page is not loading properly. '
122
123 // No app urls found - 'No apps found on this page. Try a different page or entering the package URL directly. You can also manually download the package then drop it on here. '
124
125 // 'Found # apps'
126
127 // Fetching / File Loading from drag and drop - 'Loading # apps'
128
129 // Unzipping, archive search and Parsing - 'Processing # of #'
130
131 // Not able to unzip - 'Unable to open package. Try a different file. '
132
133 // No Mach-o binary found - 'Could not find Mac App data in package. Try a different package. '
134
135 // Mach-o Parsing Error - 'Unable to scan package. Try a different one. '
136
137 // No ARM64 Architecture found - 'This App's binary is not compatible with Apple Silicon and will 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. You can try submitting the download page link for an app and we'll scan that. '
138
139 // ARM64 Architecture found -
140 return 'This App is natively compatible with Apple Silicon!'
141 }
142
143
144 // async scanPageForAppUrls () {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected