- remove index.js

- fix issue of update check logic
This commit is contained in:
Xen 2020-05-16 18:58:04 +08:00
parent 02a979f267
commit 5040afc0e4
4 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -90,3 +90,4 @@ out/
# terser map
*.map
src/index.js

View File

@ -1,7 +1,7 @@
{
"name": "comNG",
"productName": "comNG",
"version": "1.0.5",
"version": "1.0.4",
"description": "My Electron application description",
"repository": "https://github.com/xenkuo/comNG",
"main": "src/main.js",

View File

@ -228,7 +228,7 @@ window.onload = () => {
dialog.showMessageBox(dialogOpts).then((returnValue) => {
if (returnValue.response === 0)
shell.openExternal(res.assets[0].browser_download_url);
shell.openExternal(res.author.html_url + "/comNG/releases");
});
}
});

File diff suppressed because one or more lines are too long