| 321 | } |
| 322 | |
| 323 | async submitScanInfo ({ |
| 324 | filename, |
| 325 | appVersion, |
| 326 | result, |
| 327 | machoMeta, |
| 328 | infoPlist |
| 329 | }) { |
| 330 | // Each file scanned: Filename, Type(Drop or URL), File URL, Datetime, Architectures, Mach-o Meta |
| 331 | |
| 332 | // console.log( 'this.testResultStore', this.testResultStore ) |
| 333 | |
| 334 | const responseData = await postJson( this.testResultStore, { |
| 335 | filename, |
| 336 | appVersion, |
| 337 | result, |
| 338 | machoMeta: JSON.stringify( machoMeta ), |
| 339 | infoPlist: JSON.stringify( infoPlist ) |
| 340 | } ) |
| 341 | .catch(function (error) { |
| 342 | console.error(error) |
| 343 | |
| 344 | return { |
| 345 | supportedVersionNumber: null |
| 346 | } |
| 347 | }) |
| 348 | |
| 349 | return { |
| 350 | supportedVersionNumber: responseData?.supportedVersionNumber ?? null |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | getFinishedStatusMessage ({ |
| 355 | binarySupportsNative, |