Comparing version 0.8.0 to 0.9.1
@@ -7,3 +7,3 @@ # Reporting an Issue | ||
- Run through the [contributing guidelines](https://github.com/tusk/tusk/blob/master/contributing.md) | ||
- Run through the [contributing guidelines](https://github.com/klauscfhq/tusk/blob/master/contributing.md) | ||
- Support questions are better asked in the project's [chat](https://gitter.im/klauscfhq/tusk). We will get back at you in a flash. | ||
@@ -10,0 +10,0 @@ - Ensure the issue is not already reported |
@@ -229,2 +229,6 @@ 'use strict'; | ||
document.documentElement.classList.toggle('side-bar-visible', config.get('sideBarVisible')); | ||
if (process.platform === 'darwin') { | ||
// Macos visual tweak | ||
document.documentElement.classList.toggle('side-bar-visible-macos', !config.get('sideBarVisible')); | ||
} | ||
} | ||
@@ -231,0 +235,0 @@ |
@@ -11,4 +11,5 @@ 'use strict'; | ||
}, | ||
menuBarVisible: false, | ||
sideBarVisible: false, | ||
menuBarVisible: true, | ||
sideBarVisible: true, | ||
launchMinimized: false, | ||
autoNightMode: false, | ||
@@ -15,0 +16,0 @@ autoLaunch: false, |
{ | ||
"name": "Tusk v0.8.0", | ||
"name": "Tusk v0.9.1", | ||
"url": "https://github.com/klauscfhq/tusk/releases/latest", | ||
"version": "0.8.0" | ||
"version": "0.9.1" | ||
} |
13
index.js
@@ -9,2 +9,3 @@ 'use strict'; | ||
const timeStamp = require('time-stamp'); | ||
const decodeUri = require('decode-uri-component'); | ||
const appMenu = require('./menu'); | ||
@@ -120,3 +121,9 @@ const tray = require('./tray'); | ||
windowContent.insertCSS(fs.readFileSync(path.join(__dirname, 'style/vibrant-dark-mode.css'), 'utf8')); | ||
mainWindow.show(); | ||
if (config.get('launchMinimized')) { | ||
// Check whether to launch the main window minimized | ||
mainWindow.minimize(); | ||
} else { | ||
mainWindow.show(); | ||
} | ||
}); | ||
@@ -126,2 +133,6 @@ | ||
e.preventDefault(); | ||
// Workaround for opening external links | ||
const prefix = 'https://www.evernote.com/OutboundRedirect.action?dest='; | ||
// Remove prefix & decode URL | ||
url = decodeUri(url.replace(prefix, '')); | ||
electron.shell.openExternal(url); | ||
@@ -128,0 +139,0 @@ }); |
{ | ||
"shortcutKeys": { | ||
"print": "Cmd+Alt+P", | ||
"add-link": "Cmd+Shift+K", | ||
"add-shortcut": "Cmd+Alt+S", | ||
"align-center": "Cmd+Alt+M", | ||
"align-left": "Cmd+Alt+L", | ||
"align-right": "Cmd+Alt+R", | ||
"attach-file": "Cmd+Shift+F", | ||
"bold": "Cmd+B", | ||
"bulleted": "Cmd+Shift+.", | ||
"checkbox": "Cmd+Shift+C", | ||
"code-block": "Cmd+Shift+L", | ||
"decrease-indentation": "Cmd+Shift+M", | ||
"delete-note": "Delete", | ||
"exit-focus-mode": "Cmd+O", | ||
"export": "Cmd+Shift+E", | ||
"search": "Cmd+F", | ||
"focus-mode": "Cmd+K", | ||
"horizontal-rule": "Cmd+Shift+-", | ||
"increase-indentation": "Cmd+Alt+K", | ||
"insert-drive": "Cmd+Shift+D", | ||
"italic": "Cmd+I", | ||
"new-note": "Cmd+N", | ||
"delete-note": "Delete", | ||
"new-notebook": "Cmd+Shift+N", | ||
"new-tag": "Cmd+Shift+T", | ||
"new-notebook": "Cmd+Shift+N", | ||
"numbered": "Cmd+Shift+O", | ||
"print": "Cmd+Alt+P", | ||
"remove-formatting": "Cmd+Shift+Space", | ||
"return": "Esc", | ||
"search": "Cmd+F", | ||
"set-reminder": "Cmd+E", | ||
"add-shortcut": "Cmd+Alt+S", | ||
"focus-mode": "Cmd+K", | ||
"exit-focus-mode": "Cmd+O", | ||
"toggle-sepia-mode": "Cmd+G", | ||
"toggle-dark-mode": "Cmd+D", | ||
"toggle-black-mode": "Cmd+Alt+E", | ||
"toggle-vibrant-mode": "Cmd+Alt+U", | ||
"toggle-vibrant-dark-mode": "Cmd+Alt+J", | ||
"toggle-tags": "Shift+Alt+T", | ||
"toggle-notebooks": "Shift+Alt+N", | ||
"settings": "Cmd+,", | ||
"shortcuts": "Cmd+Shift+S", | ||
"return": "Esc", | ||
"bold": "Cmd+B", | ||
"italic": "Cmd+I", | ||
"underline": "Cmd+U", | ||
"strikethrough": "Cmd+T", | ||
"add-link": "Cmd+Shift+K", | ||
"return": "Esc", | ||
"bold": "Cmd+B", | ||
"italic": "Cmd+I", | ||
"underline": "Cmd+U", | ||
"strikethrough": "Cmd+T", | ||
"add-link": "Cmd+Shift+K", | ||
"attach-file": "Cmd+Shift+F", | ||
"insert-drive": "Cmd+Shift+D", | ||
"align-left": "Cmd+Alt+L", | ||
"align-center": "Cmd+Alt+M", | ||
"align-right": "Cmd+Alt+R", | ||
"increase-indentation": "Cmd+Alt+K", | ||
"decrease-indentation": "Cmd+Shift+M", | ||
"numbered": "Cmd+Shift+O", | ||
"bulleted": "Cmd+Shift+.", | ||
"checkbox": "Cmd+Shift+C", | ||
"code-block": "Cmd+Shift+L", | ||
"subscript": "Cmd+Shift+]", | ||
"superscript": "Cmd+Shift+[", | ||
"remove-formatting": "Cmd+Shift+Space", | ||
"horizontal-rule": "Cmd+Shift+-" | ||
"toggle-black-mode": "Cmd+Alt+E", | ||
"toggle-dark-mode": "Cmd+D", | ||
"toggle-notebooks": "Shift+Alt+N", | ||
"toggle-sepia-mode": "Cmd+G", | ||
"toggle-tags": "Shift+Alt+T", | ||
"toggle-vibrant-dark-mode": "Cmd+Alt+J", | ||
"toggle-vibrant-mode": "Cmd+Alt+U", | ||
"underline": "Cmd+U" | ||
} | ||
} | ||
} |
{ | ||
"shortcutKeys": { | ||
"print": "Ctrl+Alt+P", | ||
"add-link": "Ctrl+Shift+K", | ||
"add-shortcut": "Ctrl+Alt+S", | ||
"align-center": "Ctrl+Alt+M", | ||
"align-left": "Ctrl+Alt+L", | ||
"align-right": "Ctrl+Alt+R", | ||
"attach-file": "Ctrl+Shift+F", | ||
"bold": "Ctrl+B", | ||
"bulleted": "Ctrl+Shift+.", | ||
"checkbox": "Ctrl+Shift+C", | ||
"code-block": "Ctrl+Shift+L", | ||
"decrease-indentation": "Ctrl+Shift+M", | ||
"delete-note": "Delete", | ||
"exit-focus-mode": "Ctrl+O", | ||
"export": "Ctrl+Shift+E", | ||
"search": "Ctrl+F", | ||
"focus-mode": "Ctrl+K", | ||
"horizontal-rule": "Ctrl+Shift+-", | ||
"increase-indentation": "Ctrl+Alt+K", | ||
"insert-drive": "Ctrl+Shift+D", | ||
"italic": "Ctrl+I", | ||
"new-note": "Ctrl+N", | ||
"delete-note": "Delete", | ||
"new-notebook": "Ctrl+Shift+N", | ||
"new-tag": "Ctrl+Shift+T", | ||
"new-notebook": "Ctrl+Shift+N", | ||
"numbered": "Ctrl+Shift+O", | ||
"print": "Ctrl+Alt+P", | ||
"remove-formatting": "Ctrl+Shift+Space", | ||
"return": "Esc", | ||
"search": "Ctrl+F", | ||
"set-reminder": "Ctrl+E", | ||
"add-shortcut": "Ctrl+Alt+S", | ||
"focus-mode": "Ctrl+K", | ||
"exit-focus-mode": "Ctrl+O", | ||
"toggle-sepia-mode": "Ctrl+G", | ||
"toggle-dark-mode": "Ctrl+D", | ||
"toggle-black-mode": "Ctrl+Alt+E", | ||
"toggle-vibrant-mode": "Ctrl+Alt+U", | ||
"toggle-vibrant-dark-mode": "Ctrl+Alt+J", | ||
"toggle-tags": "Shift+Alt+T", | ||
"toggle-notebooks": "Shift+Alt+N", | ||
"settings": "Ctrl+,", | ||
"shortcuts": "Ctrl+Shift+S", | ||
"return": "Esc", | ||
"bold": "Ctrl+B", | ||
"italic": "Ctrl+I", | ||
"underline": "Ctrl+U", | ||
"strikethrough": "Ctrl+T", | ||
"add-link": "Ctrl+Shift+K", | ||
"return": "Esc", | ||
"bold": "Ctrl+B", | ||
"italic": "Ctrl+I", | ||
"underline": "Ctrl+U", | ||
"strikethrough": "Ctrl+T", | ||
"add-link": "Ctrl+Shift+K", | ||
"attach-file": "Ctrl+Shift+F", | ||
"insert-drive": "Ctrl+Shift+D", | ||
"align-left": "Ctrl+Alt+L", | ||
"align-center": "Ctrl+Alt+M", | ||
"align-right": "Ctrl+Alt+R", | ||
"increase-indentation": "Ctrl+Alt+K", | ||
"decrease-indentation": "Ctrl+Shift+M", | ||
"numbered": "Ctrl+Shift+O", | ||
"bulleted": "Ctrl+Shift+.", | ||
"checkbox": "Ctrl+Shift+C", | ||
"code-block": "Ctrl+Shift+L", | ||
"subscript": "Ctrl+Shift+]", | ||
"superscript": "Ctrl+Shift+[", | ||
"remove-formatting": "Ctrl+Shift+Space", | ||
"horizontal-rule": "Ctrl+Shift+-" | ||
"toggle-black-mode": "Ctrl+Alt+E", | ||
"toggle-dark-mode": "Ctrl+D", | ||
"toggle-notebooks": "Shift+Alt+N", | ||
"toggle-sepia-mode": "Ctrl+G", | ||
"toggle-tags": "Shift+Alt+T", | ||
"toggle-vibrant-dark-mode": "Ctrl+Alt+J", | ||
"toggle-vibrant-mode": "Ctrl+Alt+U", | ||
"underline": "Ctrl+U" | ||
} | ||
} | ||
} |
{ | ||
"shortcutKeys": { | ||
"print": "Ctrl+Alt+P", | ||
"add-link": "Ctrl+Shift+K", | ||
"add-shortcut": "Ctrl+Alt+S", | ||
"align-center": "Ctrl+Alt+M", | ||
"align-left": "Ctrl+Alt+L", | ||
"align-right": "Ctrl+Alt+R", | ||
"attach-file": "Ctrl+Shift+F", | ||
"bold": "Ctrl+B", | ||
"bulleted": "Ctrl+Shift+.", | ||
"checkbox": "Ctrl+Shift+C", | ||
"code-block": "Ctrl+Shift+L", | ||
"decrease-indentation": "Ctrl+Shift+M", | ||
"delete-note": "Delete", | ||
"exit-focus-mode": "Ctrl+O", | ||
"export": "Ctrl+Shift+E", | ||
"search": "Ctrl+F", | ||
"focus-mode": "Ctrl+K", | ||
"horizontal-rule": "Ctrl+Shift+-", | ||
"increase-indentation": "Ctrl+Alt+K", | ||
"insert-drive": "Ctrl+Shift+D", | ||
"italic": "Ctrl+I", | ||
"new-note": "Ctrl+N", | ||
"delete-note": "Delete", | ||
"new-notebook": "Ctrl+Shift+N", | ||
"new-tag": "Ctrl+Shift+T", | ||
"new-notebook": "Ctrl+Shift+N", | ||
"numbered": "Ctrl+Shift+O", | ||
"print": "Ctrl+Alt+P", | ||
"remove-formatting": "Ctrl+Shift+Space", | ||
"return": "Esc", | ||
"search": "Ctrl+F", | ||
"set-reminder": "Ctrl+E", | ||
"add-shortcut": "Ctrl+Alt+S", | ||
"focus-mode": "Ctrl+K", | ||
"exit-focus-mode": "Ctrl+O", | ||
"toggle-sepia-mode": "Ctrl+G", | ||
"toggle-dark-mode": "Ctrl+D", | ||
"toggle-black-mode": "Ctrl+Alt+E", | ||
"toggle-vibrant-mode": "Ctrl+Alt+U", | ||
"toggle-vibrant-dark-mode": "Ctrl+Alt+J", | ||
"toggle-tags": "Shift+Alt+T", | ||
"toggle-notebooks": "Shift+Alt+N", | ||
"settings": "Ctrl+,", | ||
"shortcuts": "Ctrl+Shift+S", | ||
"return": "Esc", | ||
"bold": "Ctrl+B", | ||
"italic": "Ctrl+I", | ||
"underline": "Ctrl+U", | ||
"strikethrough": "Ctrl+T", | ||
"add-link": "Ctrl+Shift+K", | ||
"return": "Esc", | ||
"bold": "Ctrl+B", | ||
"italic": "Ctrl+I", | ||
"underline": "Ctrl+U", | ||
"strikethrough": "Ctrl+T", | ||
"add-link": "Ctrl+Shift+K", | ||
"attach-file": "Ctrl+Shift+F", | ||
"insert-drive": "Ctrl+Shift+D", | ||
"align-left": "Ctrl+Alt+L", | ||
"align-center": "Ctrl+Alt+M", | ||
"align-right": "Ctrl+Alt+R", | ||
"increase-indentation": "Ctrl+Alt+K", | ||
"decrease-indentation": "Ctrl+Shift+M", | ||
"numbered": "Ctrl+Shift+O", | ||
"bulleted": "Ctrl+Shift+.", | ||
"checkbox": "Ctrl+Shift+C", | ||
"code-block": "Ctrl+Shift+L", | ||
"subscript": "Ctrl+Shift+]", | ||
"superscript": "Ctrl+Shift+[", | ||
"remove-formatting": "Ctrl+Shift+Space", | ||
"horizontal-rule": "Ctrl+Shift+-" | ||
"toggle-black-mode": "Ctrl+Alt+E", | ||
"toggle-dark-mode": "Ctrl+D", | ||
"toggle-notebooks": "Shift+Alt+N", | ||
"toggle-sepia-mode": "Ctrl+G", | ||
"toggle-tags": "Shift+Alt+T", | ||
"toggle-vibrant-dark-mode": "Ctrl+Alt+J", | ||
"toggle-vibrant-mode": "Ctrl+Alt+U", | ||
"underline": "Ctrl+U" | ||
} | ||
} | ||
} |
@@ -743,2 +743,4 @@ 'use strict'; | ||
}, { | ||
type: 'separator' | ||
}, { | ||
label: 'Launch on Start', | ||
@@ -752,2 +754,9 @@ type: 'checkbox', | ||
}, { | ||
label: 'Launch Minimized', | ||
type: 'checkbox', | ||
checked: config.get('launchMinimized'), | ||
click(item) { | ||
config.set('launchMinimized', item.checked); | ||
} | ||
}, { | ||
label: 'Edit Shortcut Keys', | ||
@@ -754,0 +763,0 @@ accelerator: 'CmdorCtrl+.', |
{ | ||
"name": "tusk-app", | ||
"productName": "Tusk", | ||
"version": "0.8.0", | ||
"version": "0.9.1", | ||
"description": "🐘Refined Evernote desktop app", | ||
@@ -43,6 +43,7 @@ "license": "MIT", | ||
"simple-get": "^2.7.0", | ||
"time-stamp": "^2.0.0" | ||
"time-stamp": "^2.0.0", | ||
"decode-uri-component": "^0.2.0" | ||
}, | ||
"devDependencies": { | ||
"electron": "1.7.8", | ||
"electron": "1.7.10", | ||
"electron-builder": "19.33.0", | ||
@@ -49,0 +50,0 @@ "electron-builder-squirrel-windows": "19.33.0", |
@@ -47,2 +47,3 @@ <h1 align="center"> | ||
- Launch on Start | ||
- Launch Minimized | ||
- Drag and Drop Files | ||
@@ -67,4 +68,6 @@ | ||
Macos users can also install through [homebrew-cask](https://caskroom.github.io/) `brew cask install tusk` | ||
Macos users can directly install through [homebrew-cask](https://caskroom.github.io/) `brew cask install tusk` | ||
Arch Linux users can directly install through [AUR](https://aur.archlinux.org/packages/tusk/) `yaourt tusk` | ||
## Features | ||
@@ -291,5 +294,5 @@ | ||
[](https://github.com/klauscfhq) | [](https://github.com/mariocfhq) | [](https://github.com/georgebax) | [](https://github.com/ThanasisGkanos) | ||
--- | --- | --- | --- | ||
[Klaus Sinani](https://github.com/klauscfhq) | [Mario Sinani](https://github.com/mariocfhq) | [George Baxopoulos](https://github.com/georgebax) | [Thanasis Gkanos](https://github.com/ThanasisGkanos) | ||
[](https://github.com/klauscfhq) | [](https://github.com/mariocfhq) | [](https://github.com/ThanasisGkanos) | ||
--- | --- | --- | ||
[Klaus Sinani](https://github.com/klauscfhq) | [Mario Sinani](https://github.com/mariocfhq) | [Thanasis Gkanos](https://github.com/ThanasisGkanos) | ||
@@ -296,0 +299,0 @@ ## Disclaimer |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6463925
3181
303
12
+ Addeddecode-uri-component@^0.2.0
+ Addeddecode-uri-component@0.2.2(transitive)