From f6570268202eb94232a5653983bd030371d0e12b Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Tue, 16 Jan 2018 14:51:53 +0800 Subject: [PATCH] Removed: some console & modified readme --- README.md | 4 +++- src/main/index.js | 3 --- src/renderer/components/TrayPage.vue | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9cdaaa1..90f1697 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,9 @@ PicGo目前支持了`微博图床`,`七牛图床`,`腾讯云COS`,`又拍 支持macOS、windows 64位(v1.3.0以上)系统,未来将支持linux。 -点击此处下载[应用](https://github.com/Molunerfinn/PicGo/releases),macOS用户请下载最新版本的`dmg`文件,windows用户请下载最新版本的`exe`文件。 +支持快捷键`command+shift+p`(macOS)或者`control+shift+p`(windows)用以支持快捷上传剪贴板里的图片(第一张)。 + +点击此处下载[应用](https://github.com/Molunerfinn/PicGo/releases),macOS用户请下载最新版本的`dmg`文件,windows用户请下载最新版本的`exe`文件。**如果是国内用户下载github release文件速度很慢的话,推荐使用[Free Download Manager](http://www.freedownloadmanager.org/download.htm)来下载,速度会快。** 如果第一次使用,请参考应用使用[手册](https://github.com/Molunerfinn/PicGo/wiki)。 diff --git a/src/main/index.js b/src/main/index.js index 2c834df..9c68a13 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -53,7 +53,6 @@ function createTray () { { label: '打开详细窗口', click () { - console.log(1) if (settingWindow === null) { createSettingWindow() settingWindow.show() @@ -378,12 +377,10 @@ const isSecondInstance = app.makeSingleInstance(() => { }) if (isSecondInstance) { - console.log('is 2') app.quit() } if (process.platform === 'win32') { - console.log(pkg.build.appId) app.setAppUserModelId(pkg.build.appId) } diff --git a/src/renderer/components/TrayPage.vue b/src/renderer/components/TrayPage.vue index 42d09bc..02756ef 100644 --- a/src/renderer/components/TrayPage.vue +++ b/src/renderer/components/TrayPage.vue @@ -80,7 +80,6 @@ const myNotification = new window.Notification(this.notification.title, this.notification) const pasteStyle = this.$db.read().get('picBed.pasteStyle').value() this.$electron.clipboard.writeText(pasteTemplate(pasteStyle, item.imgUrl)) - console.log(pasteTemplate(pasteStyle, item.imgUrl)) myNotification.onclick = () => { return true }