|
@@ -35,6 +35,9 @@ import { useVCamChecker } from "./useVCamChecker";
|
|
const { addTimeout, addInterval } = useTimers();
|
|
const { addTimeout, addInterval } = useTimers();
|
|
|
|
|
|
//#region 登录日志处理
|
|
//#region 登录日志处理
|
|
|
|
+// @ts-expect-error
|
|
|
|
+// eslint-disable-next-line no-undef
|
|
|
|
+const portableFile = window.proceess?.env?.PORTABLE_EXECUTABLE_FILE;
|
|
logger({
|
|
logger({
|
|
cnl: ["console", "local", "server"],
|
|
cnl: ["console", "local", "server"],
|
|
pgn: "登录页面",
|
|
pgn: "登录页面",
|
|
@@ -48,9 +51,8 @@ if (isElectron()) {
|
|
act: "versonstats",
|
|
act: "versonstats",
|
|
ext: {
|
|
ext: {
|
|
packageVersion: "ua-" + ua.getBrowser().version,
|
|
packageVersion: "ua-" + ua.getBrowser().version,
|
|
- file: eval(`proceess.env.PORTABLE_EXECUTABLE_FILE`),
|
|
|
|
- uaGood:
|
|
|
|
- "uagood-" + (eval(`proceess.env.PORTABLE_EXECUTABLE_FILE`) ? 1 : 0),
|
|
|
|
|
|
+ file: portableFile,
|
|
|
|
+ uaGood: "uagood-" + (portableFile ? 1 : 0),
|
|
},
|
|
},
|
|
});
|
|
});
|
|
}
|
|
}
|