fix: PrefSwitch is reset to false when app exit

This commit is contained in:
hyb1996
2018-01-23 14:23:09 +08:00
parent af0dbcefb7
commit bb6d44e696
7 changed files with 243 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
module.exports = function(__runtime__, scope){
var files = Object.create(com.stardust.pio.PFiles);
var files = Object.create(com.stardust.autojs.runtime.api);
files.cwd = function(){
return scope.engines.myEngine().cwd();
}