diff --git a/src/electron/touchbar.js b/src/electron/touchbar.js index 5c9f37f..8b1023d 100644 --- a/src/electron/touchbar.js +++ b/src/electron/touchbar.js @@ -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; + diff --git a/vue.config.js b/vue.config.js index 2a0e7e5..4ec257f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -56,7 +56,8 @@ module.exports = { productName: 'Yes Play Music', // 版权 copyright: 'Copyright © YesPlayMusic', - compression: "maximum", + // 机器好的可以打开,配置压缩 + // compression: "maximum", publish: [ { "provider": "github",