Move version control to github
This commit is contained in:
1 parent
1cac697b83
commit
063a0ff4fc
1 file changed
+1
-1
@@ -188,7 +188,7 @@ config = {
|
||||
},
|
||||
|
||||
checkVersion: function() {
|
||||
this.values.gitVersion = http.get("https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/gitVersion").body.string();
|
||||
this.values.gitVersion = http.get("https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript@master/gitVersion").body.string();
|
||||
var periodVersion = this._global_storage.get("version", this.values.currentVersion);
|
||||
var currentVersion = this.values.currentVersion;
|
||||
if(periodVersion < currentVersion) {
|
||||
|
||||
Reference in new issue
Block a user