decord/source/utils/native/AppInfoUtils.tsx
2026-09-03 10:05:34 +00:00

26 lines
677 B
TypeScript

// Module ID: 17161
// Function ID: 17162
// Name: getAppMajorVersion
// Dependencies: [1624, 2]
// Exports: getAppMajorVersion
// Module 17161 (getAppMajorVersion)
import set from "set" /* 2 */;
import getConstants from "getConstants" /* 1624 */;
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;
}
};