Move version control to github
This commit is contained in:
@@ -188,7 +188,7 @@ config = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
checkVersion: function() {
|
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 periodVersion = this._global_storage.get("version", this.values.currentVersion);
|
||||||
var currentVersion = this.values.currentVersion;
|
var currentVersion = this.values.currentVersion;
|
||||||
if(periodVersion < currentVersion) {
|
if(periodVersion < currentVersion) {
|
||||||
|
|||||||
Reference in New Issue
Block a user