feat: 优化播放样式 优化歌曲背景色 优化 mv播放样式 添加循环播放 等控制功能

This commit is contained in:
alger
2024-11-23 22:42:23 +08:00
parent 3027a5f6ff
commit 0bb14902f2
9 changed files with 1137 additions and 92 deletions

4
app.js
View File

@@ -24,7 +24,9 @@ function createWindow() {
} else {
win.loadURL(`file://${__dirname}/dist/index.html`);
}
const image = nativeImage.createFromPath(path.join(__dirname, 'public/icon_16x16.png')).resize({ width: 16, height: 16 });
const image = nativeImage
.createFromPath(path.join(__dirname, 'public/icon_16x16.png'))
.resize({ width: 16, height: 16 });
const tray = new Tray(image);
// 创建一个上下文菜单