decord/source/utils/native/AppInfoUtils.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

26 lines
677 B
TypeScript

// Module ID: 17330
// Function ID: 17331
// Name: getAppMajorVersion
// Dependencies: [1364, 2]
// Exports: getAppMajorVersion
// Module 17330 (getAppMajorVersion)
import set from "set" /* 2 */;
import getConstants from "getConstants" /* 1364 */;
const constants = getConstants.getConstants();
const result = set.fileFinishedImporting("utils/native/AppInfoUtils.tsx");
export const getAppMajorVersion = function getAppMajorVersion() {
if (undefined === closure_0) {
return -1;
} else {
const parts = tmp.Version.split(".");
let num = -1;
if (2 === parts.length) {
const _Number = Number;
num = Number(parts[0]);
}
return num;
}
};