mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-03-30 19:55:26 +08:00
feat: update electron options and touchbar
This commit is contained in:
parent
a9e153cfd6
commit
ae6ecd96fd
@ -1,4 +1,5 @@
|
||||
const { app, BrowserWindow, TouchBar } = require("electron");
|
||||
// 运用 ipdMain 请求用户喜欢的歌手的数据,随机抽几个歌手进行随机
|
||||
const { TouchBar } = require("electron");
|
||||
|
||||
const { TouchBarLabel, TouchBarButton, TouchBarSpacer } = TouchBar;
|
||||
|
||||
@ -101,3 +102,4 @@ const touchBar = new TouchBar({
|
||||
// })
|
||||
|
||||
module.exports = touchBar;
|
||||
|
||||
|
@ -56,7 +56,8 @@ module.exports = {
|
||||
productName: 'Yes Play Music',
|
||||
// 版权
|
||||
copyright: 'Copyright © YesPlayMusic',
|
||||
compression: "maximum",
|
||||
// 机器好的可以打开,配置压缩
|
||||
// compression: "maximum",
|
||||
publish: [
|
||||
{
|
||||
"provider": "github",
|
||||
|
Loading…
x
Reference in New Issue
Block a user