2026-09-22 22:11:40 +00:00
|
|
|
// Module ID: 17441
|
|
|
|
|
// Function ID: 17442
|
2026-09-18 20:18:48 +00:00
|
|
|
// Name: AppInfoUtils
|
2026-09-22 22:11:40 +00:00
|
|
|
// Dependencies: [1362, 2]
|
2026-09-18 20:18:48 +00:00
|
|
|
// Exports: getAppMajorVersion
|
|
|
|
|
|
2026-09-22 22:11:40 +00:00
|
|
|
// Module 17441 (AppInfoUtils)
|
|
|
|
|
import ClientInfoUtils from "ClientInfoUtils" /* 1362 */;
|
2026-09-18 20:18:48 +00:00
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
};
|