...
This commit is contained in:
1 parent
1741b92cd6
commit
0685fb20b0
1 file changed
+11
-9
+11
-9
@@ -137,6 +137,17 @@ game.import("extension", function (lib, game, ui, get, ai, _status) {
|
||||
// alert(oldt);
|
||||
writeFile(fileEntry, dataObj);
|
||||
|
||||
|
||||
},
|
||||
function (err) {
|
||||
alert("创建失败!");
|
||||
}
|
||||
);
|
||||
},
|
||||
function (err) {}
|
||||
);
|
||||
}
|
||||
|
||||
//更新extension.js
|
||||
window.resolveLocalFileSystemURL(
|
||||
lib.assetURL + "extension/" + extName,
|
||||
@@ -158,15 +169,6 @@ game.import("extension", function (lib, game, ui, get, ai, _status) {
|
||||
);
|
||||
|
||||
alert("更新完成");
|
||||
},
|
||||
function (err) {
|
||||
alert("创建失败!");
|
||||
}
|
||||
);
|
||||
},
|
||||
function (err) {}
|
||||
);
|
||||
}
|
||||
|
||||
},
|
||||
() => {}
|
||||
|
||||
Reference in new issue
Block a user