feat: updates

This commit is contained in:
qier222 2023-01-07 14:39:03 +08:00
parent 884f3df41a
commit c6c59b2cd9
No known key found for this signature in database
84 changed files with 3531 additions and 2616 deletions

View file

@ -9,6 +9,7 @@ import {
} from 'electron'
import { IpcChannels } from '@/shared/IpcChannels'
import { RepeatMode } from '@/shared/playerDataTypes'
import { appName } from './env'
const iconDirRoot =
process.env.NODE_ENV === 'development'
@ -134,7 +135,7 @@ class YPMTrayImpl implements YPMTray {
this._contextMenu = Menu.buildFromTemplate(this._template)
this._updateContextMenu()
this.setTooltip('YesPlayMusic')
this.setTooltip(appName)
this._tray.on('click', () => win.show())
}