mm_os 3.0.4 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/com/app/drive.js +3 -3
- package/package.json +1 -1
package/core/com/app/drive.js
CHANGED
|
@@ -155,7 +155,7 @@ Drive.prototype.restart = async function(option) {
|
|
|
155
155
|
Drive.prototype.init_before = async function(option) {
|
|
156
156
|
this.plugin = $.plugin_admin(this.config.name, this.config.title);
|
|
157
157
|
await this.plugin.update();
|
|
158
|
-
|
|
158
|
+
this.plugin.exec(null, 'init');
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
/**
|
|
@@ -205,11 +205,11 @@ Drive.prototype.start = function(opiton) {
|
|
|
205
205
|
*/
|
|
206
206
|
Drive.prototype.start_after = async function(opiton) {
|
|
207
207
|
var msg = null;
|
|
208
|
-
var list = this.plugin;
|
|
208
|
+
var list = this.plugin.list;
|
|
209
209
|
for (var i = 0; i < list.length; i++) {
|
|
210
210
|
var o = list[i];
|
|
211
211
|
if (o.config.state) {
|
|
212
|
-
|
|
212
|
+
o.exec('start');
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
return msg;
|