Skip to content

Commit 029b613

Browse files
committed
chore: 去除部分 meta 信息
1 parent 34901b3 commit 029b613

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.20.76",
3+
"version": "2.20.77",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"scripts": {

backend/src/utils/env.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@ let meta = {};
2727
let feature = {};
2828

2929
try {
30-
if (typeof $environment !== 'undefined') {
31-
// eslint-disable-next-line no-undef
32-
meta.env = $environment;
33-
}
34-
if (typeof $loon !== 'undefined') {
35-
// eslint-disable-next-line no-undef
36-
meta.loon = $loon;
37-
}
38-
if (typeof $script !== 'undefined') {
39-
// eslint-disable-next-line no-undef
40-
meta.script = $script;
41-
}
42-
if (typeof $Plugin !== 'undefined') {
43-
// eslint-disable-next-line no-undef
44-
meta.plugin = $Plugin;
45-
}
30+
// if (typeof $environment !== 'undefined') {
31+
// // eslint-disable-next-line no-undef
32+
// meta.env = $environment;
33+
// }
34+
// if (typeof $loon !== 'undefined') {
35+
// // eslint-disable-next-line no-undef
36+
// meta.loon = $loon;
37+
// }
38+
// if (typeof $script !== 'undefined') {
39+
// // eslint-disable-next-line no-undef
40+
// meta.script = $script;
41+
// }
42+
// if (typeof $Plugin !== 'undefined') {
43+
// // eslint-disable-next-line no-undef
44+
// meta.plugin = $Plugin;
45+
// }
4646
if (isNode) {
4747
meta.node = {
4848
version: eval('process.version'),

0 commit comments

Comments
 (0)