decord/beta/source/utils/native/AppInfoUtils.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

26 lines
681 B
TypeScript

// Module ID: 17751
// Function ID: 17752
// Name: AppInfoUtils
// Dependencies: [1367, 2]
// Exports: getAppMajorVersion
// Module 17751 (AppInfoUtils)
import ClientInfoUtils from "ClientInfoUtils" /* 1367 */;
import size from "module_2" /* 2 */;
const constants = ClientInfoUtils.getConstants();
const result = size.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;
}
};