Removed: some console & modified readme

This commit is contained in:
Molunerfinn
2018-01-16 14:51:53 +08:00
parent e8e78303a3
commit f657026820
3 changed files with 3 additions and 5 deletions
+3 -1
View File
@@ -26,7 +26,9 @@ PicGo目前支持了`微博图床`,`七牛图床`,`腾讯云COS`,`又拍
支持macOS、windows 64位(v1.3.0以上)系统,未来将支持linux。 支持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)。 如果第一次使用,请参考应用使用[手册](https://github.com/Molunerfinn/PicGo/wiki)。
-3
View File
@@ -53,7 +53,6 @@ function createTray () {
{ {
label: '打开详细窗口', label: '打开详细窗口',
click () { click () {
console.log(1)
if (settingWindow === null) { if (settingWindow === null) {
createSettingWindow() createSettingWindow()
settingWindow.show() settingWindow.show()
@@ -378,12 +377,10 @@ const isSecondInstance = app.makeSingleInstance(() => {
}) })
if (isSecondInstance) { if (isSecondInstance) {
console.log('is 2')
app.quit() app.quit()
} }
if (process.platform === 'win32') { if (process.platform === 'win32') {
console.log(pkg.build.appId)
app.setAppUserModelId(pkg.build.appId) app.setAppUserModelId(pkg.build.appId)
} }
-1
View File
@@ -80,7 +80,6 @@
const myNotification = new window.Notification(this.notification.title, this.notification) const myNotification = new window.Notification(this.notification.title, this.notification)
const pasteStyle = this.$db.read().get('picBed.pasteStyle').value() const pasteStyle = this.$db.read().get('picBed.pasteStyle').value()
this.$electron.clipboard.writeText(pasteTemplate(pasteStyle, item.imgUrl)) this.$electron.clipboard.writeText(pasteTemplate(pasteStyle, item.imgUrl))
console.log(pasteTemplate(pasteStyle, item.imgUrl))
myNotification.onclick = () => { myNotification.onclick = () => {
return true return true
} }