From 0200b2bda888b7996805cd04ca4f809860a2c010 Mon Sep 17 00:00:00 2001 From: Mo Bitar Date: Tue, 7 Mar 2017 10:42:50 -0600 Subject: [PATCH] slack link, check for updates timing --- {icon => _icon}/icon.icns | Bin {icon => _icon}/icon.ico | Bin {icon => _icon}/icon.png | Bin app/index.js | 7 ++++++- app/package.json | 2 +- package.json | 6 ------ 6 files changed, 7 insertions(+), 8 deletions(-) rename {icon => _icon}/icon.icns (100%) rename {icon => _icon}/icon.ico (100%) rename {icon => _icon}/icon.png (100%) diff --git a/icon/icon.icns b/_icon/icon.icns similarity index 100% rename from icon/icon.icns rename to _icon/icon.icns diff --git a/icon/icon.ico b/_icon/icon.ico similarity index 100% rename from icon/icon.ico rename to _icon/icon.ico diff --git a/icon/icon.png b/_icon/icon.png similarity index 100% rename from icon/icon.png rename to _icon/icon.png diff --git a/app/index.js b/app/index.js index 663703fe..bddff20d 100644 --- a/app/index.js +++ b/app/index.js @@ -102,6 +102,10 @@ function createWindow () { // auto updater autoUpdater.logger = log + checkForUpdates(); +} + +function checkForUpdates() { if(!isDev) { autoUpdater.checkForUpdates(); } @@ -115,6 +119,7 @@ app.on('activate', function() { } else { win.show(); } + checkForUpdates() }); app.on('ready', function(){ @@ -204,7 +209,7 @@ app.on('ready', function(){ }, { label: 'Slack', - click () { require('electron').shell.openExternal('https://slackin-ekhdyygaer.now.sh/') } + click () { require('electron').shell.openExternal('https://now-examples-slackin-phikcdqtmt.now.sh/') } }, { label: 'Website', diff --git a/app/package.json b/app/package.json index b859fd07..4c1cfafd 100644 --- a/app/package.json +++ b/app/package.json @@ -2,7 +2,7 @@ "name": "standard-notes", "productName": "Standard Notes", "description": "A standard notes app with an un-standard focus on longevity, portability, and privacy.", - "author": "Standard Notes ", + "author": "Standard Notes ", "version": "0.2.7", "dependencies": { "electron-log": "^1.3.0", diff --git a/package.json b/package.json index 8a501395..99edd50c 100644 --- a/package.json +++ b/package.json @@ -10,12 +10,6 @@ "appId": "org.standardnotes.standardnotes", "mac": { "category": "public.app-category.productivity" - }, - "win": { - "iconUrl": "(windows-only) https link to icon" - }, - "linux": { - "icon": "icon/icon.png" } }, "scripts": {