Skip to content

Commit

Permalink
gmail 2.0.1 - update to electron 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fujifish committed May 15, 2018
1 parent 2b040cb commit a883eb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@
// console.log('inbox: ' + inbox);
if (inbox) {
// console.log('inbox title: ' + title);
var matched = document.title.match(/Inbox \((\d+)\)/) || inbox.innerText.match(/Inbox \((\d+)\)/);
var matched = document.title.match(/Inbox \(([\d,]+)\)/) || inbox.innerText.match(/Inbox \(([\d,]+)\)/);
// console.log('inbox match: ' + matched);
var unread = '';
if (matched) {
unread = matched[1];
unread = matched[1].replace(/,/g, '');
}
// console.log('inbox unread: ' + unread);
if (last != unread) {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "Gmail",
"version": "1.2.0",
"name": "gmail",
"version": "2.0.1",
"main": "main.js",
"dependencies": {
"electron-context-menu": "0.9.1",
"spellchecker": "3.3.1"
"spellchecker": "3.4.4"
},
"devDependencies": {
"electron-rebuild": "1.5.7",
"electron-packager": "8.6.0"
"electron-packager": "12.0.2"
},
"scripts": {
"build": "electron-packager . --icon=gmail.icns --platform=darwin --arch=x64 --electron-version=1.6.2 --overwrite"
"build": "electron-packager . --icon=gmail.icns --platform=darwin --arch=x64 --electron-version=2.0.0 --overwrite"
}
}

0 comments on commit a883eb9

Please # to comment.