Skip to content

Commit

Permalink
Update 【OrangeJs橘衫の脚本】自动宠汪汪(京东脚本)
Browse files Browse the repository at this point in the history
  • Loading branch information
Orange-shirt authored Feb 23, 2020
1 parent a8a1027 commit c450f2c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function getPackageVersion(packageName) {
}
}
var InstalledVersion = getPackageVersion("com.jingdong.app.mall");
var SupportVersion = ["8.5.0", "8.4.6", "8.4.4"]
var SupportVersion = ["8.5.1","8.5.0", "8.4.6", "8.4.4"]

var Each = SupportVersion.length;
var While = 1;
Expand Down Expand Up @@ -95,17 +95,14 @@ while (While == 1) {
}).show();
} else {
engines.execScript("自动宠汪汪", "RunJs()\n" + RunJs.toString());
exit();
}
var While = 0;
exit();
} else if (SupportVersion[Each] != InstalledVersion) {
Each--;
} else {
var While = 0;
log("已安装支持的软件版本:" + SupportVersion[Each]);
engines.execScript("自动宠汪汪", "RunJs()\n" + RunJs.toString());
exit();
}
}

Expand Down

0 comments on commit c450f2c

Please sign in to comment.