feat: compatible windows and support disable function

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-19 14:45:06 +08:00
parent 7dad0e7abc
commit 0dfe04040e
4 changed files with 5 additions and 31 deletions

View File

@ -1,6 +1,7 @@
'use strict';
var log;
var boot;
var engineDisable;
// noinspection ThisExpressionReferencesGlobalObjectJS
var global = this;
/**
@ -27,7 +28,7 @@ var global = this;
// Plugin file decompression to folder when file not exist
release(root, '(plugins)+/.*', false);
load(root + '/core/ployfill.js')(root, logger);
require('@ms/core');
engineDisable = require('@ms/core').default;
};
var pluginYml;