mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-30 20:50:52 +08:00
Removed: some console & modified readme
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user