feat: windows缩略图工具栏 (#1551)

* 从 v1 引入图标

* feat: windows缩略图工具栏

* 更新windows任务栏控制图标

图标基于microsoft fluent icon修改
移除like和unlike

* update

* 启动时显示taskbar buttons
This commit is contained in:
memorydream 2022-04-29 21:16:46 +08:00 committed by GitHub
parent d3e44541fb
commit 07d7564b1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 122 additions and 12 deletions

View file

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