mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-14 23:11:00 +08:00
✨ feat: 优化播放样式 优化歌曲背景色 优化 mv播放样式 添加循环播放 等控制功能
This commit is contained in:
4
app.js
4
app.js
@@ -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);
|
||||
|
||||
// 创建一个上下文菜单
|
||||
|
||||
Reference in New Issue
Block a user