mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-19 17:16:08 +08:00
fix: 发布加载
This commit is contained in:
parent
eab32061ca
commit
3f808a848c
@ -318,8 +318,6 @@ core.prototype.initSync = function (coreData, callback) {
|
||||
core.prototype._loadPluginAsync = async function () {
|
||||
if (!main.useCompress) {
|
||||
await main.loadScript(`project/plugins.js?v=${main.version}`);
|
||||
} else {
|
||||
await main.loadScript(`project/plugins.min.js?v=${main.version}`);
|
||||
}
|
||||
for (const [key, value] of Object.entries(
|
||||
plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1
|
||||
@ -350,6 +348,9 @@ core.prototype._loadGameProcess = async function () {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (main.useCompress) {
|
||||
await main.loadScript(`project/project.min.js`);
|
||||
}
|
||||
};
|
||||
|
||||
core.prototype._loadGameProcessSync = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user