-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8593db8
Showing
6 changed files
with
917 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[*.{js,json}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const { app, Tray, Menu, BrowserWindow } = require('electron'); | ||
const path = require('path'); | ||
|
||
let tray = null; | ||
|
||
app.on('ready', function () { | ||
tray = new Tray(path.join(__dirname, 'assets/images/TrayIconTemplate.png')); | ||
const contextMenu = Menu.buildFromTemplate([ | ||
{ | ||
label: 'Quit', | ||
accelerator: 'Command+Q', | ||
selector: 'terminate:', | ||
} | ||
]); | ||
tray.setToolTip('Zendoro'); | ||
tray.setContextMenu(contextMenu); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "zendoro", | ||
"version": "0.5.0", | ||
"description": "A simple timer to use with the Pomodoro Technique", | ||
"main": "main.js", | ||
"scripts": { | ||
"start": "electron ." | ||
}, | ||
"repository": "https://github.com/kprav33n/zendoro", | ||
"author": "Praveen Kumar <[email protected]>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"electron": "^1.7.9" | ||
} | ||
} |
Oops, something went wrong.