feat: update electron options and touchbar

master
kunkka 4 years ago
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…
Cancel
Save