2026-09-22 14:21:44 +00:00
|
|
|
// Module ID: 17752
|
|
|
|
|
// Function ID: 17753
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: AppInfoUtils
|
2026-09-21 19:31:18 +00:00
|
|
|
// Dependencies: [1367, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: getAppMajorVersion
|
|
|
|
|
|
2026-09-22 14:21:44 +00:00
|
|
|
// Module 17752 (AppInfoUtils)
|
2026-09-21 19:31:18 +00:00
|
|
|
import ClientInfoUtils from "ClientInfoUtils" /* 1367 */;
|
2026-09-18 19:45:33 +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;
|
|
|
|
|
}
|
|
|
|
|
};
|