Skip to content

Commit

Permalink
removing unecessary popup; bumping to v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tnrich committed Sep 23, 2019
1 parent a63be5d commit d71ad89
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
17 changes: 8 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,14 @@
message.innerText = "Checking for updates...";
notification.classList.remove("hidden");
});
ipcRenderer.on("update-not-available", () => {
ipcRenderer.removeAllListeners("update-not-available");
message.innerText = "No updates available";
notification.classList.remove("hidden");
setTimeout(() => {
notification.classList.add("hidden");
}, 2000);

});
// ipcRenderer.on("update-not-available", () => {
// ipcRenderer.removeAllListeners("update-not-available");
// message.innerText = "No updates available";
// notification.classList.remove("hidden");
// setTimeout(() => {
// notification.classList.add("hidden");
// }, 2000);
// });
ipcRenderer.on("download-progress", (e, text) => {
message.innerText = "Downloading: " + text;
notification.classList.remove("hidden"); //tnrtodo comment this out
Expand Down
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ autoUpdater.on("update-downloaded", () => {
autoUpdater.on("checking-for-update", () => {
sendStatusToWindow("checking-for-update");
});
autoUpdater.on("update-not-available", info => {
sendStatusToWindow("update-not-available");
});
// autoUpdater.on("update-not-available", info => {
// sendStatusToWindow("update-not-available");
// });
autoUpdater.on("error", err => {
sendStatusToWindow("error", err);
});
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ove",
"version": "0.0.8",
"name": "ove-electron",
"version": "0.1.0",
"description": "An open source vector/plasmid editor",
"main": "main.js",
"scripts": {
Expand All @@ -15,6 +15,7 @@
"deploy-mac": "env-cmd electron-builder --mac --publish always"
},
"build": {
"productName": "Open Vector Editor",
"publish": {
"provider": "github",
"repo": "ove-electron",
Expand Down

0 comments on commit d71ad89

Please sign in to comment.