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

View File

@@ -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)
}

View File

@@ -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
}