diff --git a/src/index.html b/src/index.html
index bd27841..a8f82e4 100755
--- a/src/index.html
+++ b/src/index.html
@@ -19,7 +19,7 @@
diff --git a/src/index.js b/src/index.js
index 71c057e..1ebdf6b 100755
--- a/src/index.js
+++ b/src/index.js
@@ -4,7 +4,7 @@ const { remote, shell, ipcRenderer, clipboard } = require("electron");
const Store = require("electron-store");
const appVersion = remote.app.getVersion();
const appUpdaterUrl =
- "https://api.github.com/repos/xenkuo/comNG/releases/latest";
+ "https://gitee.com/api/v5/repos/xenkuo/comNG/releases/latest";
var M = require("materialize-css");
M.AutoInit();
@@ -227,7 +227,8 @@ window.onload = () => {
};
dialog.showMessageBox(dialogOpts).then((returnValue) => {
- if (returnValue.response === 0) shell.openExternal(res.html_url);
+ if (returnValue.response === 0)
+ shell.openExternal(res.assets[0].browser_download_url);
});
}
});