Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
slack link, check for updates timing
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Mar 7, 2017
1 parent 5680686 commit 0200b2b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes
7 changes: 6 additions & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ function createWindow () {

// auto updater
autoUpdater.logger = log
checkForUpdates();
}

function checkForUpdates() {
if(!isDev) {
autoUpdater.checkForUpdates();
}
Expand All @@ -115,6 +119,7 @@ app.on('activate', function() {
} else {
win.show();
}
checkForUpdates()
});

app.on('ready', function(){
Expand Down Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>",
"author": "Standard Notes <[email protected]>",
"version": "0.2.7",
"dependencies": {
"electron-log": "^1.3.0",
Expand Down
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 0200b2b

Please sign in to comment.