mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: windows缩略图工具栏 (#1551)
* 从 v1 引入图标 * feat: windows缩略图工具栏 * 更新windows任务栏控制图标 图标基于microsoft fluent icon修改 移除like和unlike * update * 启动时显示taskbar buttons
This commit is contained in:
parent
d3e44541fb
commit
07d7564b1e
20 changed files with 122 additions and 12 deletions
|
|
@ -11,7 +11,6 @@ export const enum IpcChannels {
|
|||
DevDbExportJson = 'dev-db-export-json',
|
||||
CacheCoverColor = 'cache-cover-color',
|
||||
SetTrayTooltip = 'set-tray-tooltip',
|
||||
SetTrayLikeState = 'set-tray-like-state',
|
||||
// 准备三个播放相关channel, 为 mpris 预留接口
|
||||
Play = 'play',
|
||||
Pause = 'pause',
|
||||
|
|
@ -41,9 +40,6 @@ export interface IpcChannelsParams {
|
|||
[IpcChannels.SetTrayTooltip]: {
|
||||
text: string
|
||||
}
|
||||
[IpcChannels.SetTrayLikeState]: {
|
||||
isLiked: boolean
|
||||
}
|
||||
[IpcChannels.Play]: void
|
||||
[IpcChannels.Pause]: void
|
||||
[IpcChannels.PlayOrPause]: void
|
||||
|
|
@ -68,7 +64,6 @@ export interface IpcChannelsReturns {
|
|||
[IpcChannels.DevDbExportJson]: void
|
||||
[IpcChannels.CacheCoverColor]: void
|
||||
[IpcChannels.SetTrayTooltip]: void
|
||||
[IpcChannels.SetTrayLikeState]: void
|
||||
[IpcChannels.Play]: void
|
||||
[IpcChannels.Pause]: void
|
||||
[IpcChannels.PlayOrPause]: void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue