Adapted for GUI.for.Cores

This commit is contained in:
onejibang
2024-05-11 17:32:01 +08:00
parent d073dfeef8
commit cf35afcab2
4 changed files with 6214 additions and 5131 deletions

View File

@@ -10,6 +10,7 @@ const {
isShadowRocket,
isLanceX,
isEgern,
isGUIforCores,
} = ENV();
let backend = 'Node';
if (isNode) backend = 'Node';
@@ -20,6 +21,7 @@ if (isStash) backend = 'Stash';
if (isShadowRocket) backend = 'ShadowRocket';
if (isEgern) backend = 'Egern';
if (isLanceX) backend = 'LanceX';
if (isGUIforCores) backend = 'GUI.for.Cores';
let meta = {};
@@ -51,6 +53,9 @@ try {
}
}
}
if (isGUIforCores) {
meta.plugin = Plugin;
}
// eslint-disable-next-line no-empty
} catch (e) {}