decord/source/utils/ReleaseChannelUtils.native.tsx

33 lines
945 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 6832
// Function ID: 53975
2026-07-20 16:05:17 +00:00
// Name: isStable
// Dependencies: []
2026-07-21 06:55:02 +00:00
// Module 6832 (isStable)
2026-07-20 16:05:17 +00:00
const ReleaseChannel = importAll(dependencyMap[0]).getConstants().ReleaseChannel;
const importAllResult = importAll(dependencyMap[0]);
let isAndroidResult = arg1(dependencyMap[1]).isAndroid();
if (isAndroidResult) {
isAndroidResult = -1 === ReleaseChannel.indexOf("canary");
}
if (isAndroidResult) {
isAndroidResult = -1 === ReleaseChannel.indexOf("beta");
}
let tmp3 = "stable" === ReleaseChannel;
let tmp4 = -1 !== ReleaseChannel.indexOf("debug");
if (!tmp4) {
tmp4 = -1 !== ReleaseChannel.indexOf("developer");
}
let tmp5 = !tmp4;
if (!tmp4) {
if (!tmp3) {
tmp3 = isAndroidResult;
}
tmp5 = tmp3;
}
const obj2 = arg1(dependencyMap[1]);
const result = arg1(dependencyMap[2]).fileFinishedImporting("utils/ReleaseChannelUtils.native.tsx");
export const isStable = tmp5;
export const CurrentReleaseChannel = ReleaseChannel;