mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
feat: update electron options and touchbar
This commit is contained in:
parent
a9e153cfd6
commit
ae6ecd96fd
2 changed files with 5 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
const { app, BrowserWindow, TouchBar } = require("electron");
|
// 运用 ipdMain 请求用户喜欢的歌手的数据,随机抽几个歌手进行随机
|
||||||
|
const { TouchBar } = require("electron");
|
||||||
|
|
||||||
const { TouchBarLabel, TouchBarButton, TouchBarSpacer } = TouchBar;
|
const { TouchBarLabel, TouchBarButton, TouchBarSpacer } = TouchBar;
|
||||||
|
|
||||||
|
|
@ -101,3 +102,4 @@ const touchBar = new TouchBar({
|
||||||
// })
|
// })
|
||||||
|
|
||||||
module.exports = touchBar;
|
module.exports = touchBar;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,8 @@ module.exports = {
|
||||||
productName: 'Yes Play Music',
|
productName: 'Yes Play Music',
|
||||||
// 版权
|
// 版权
|
||||||
copyright: 'Copyright © YesPlayMusic',
|
copyright: 'Copyright © YesPlayMusic',
|
||||||
compression: "maximum",
|
// 机器好的可以打开,配置压缩
|
||||||
|
// compression: "maximum",
|
||||||
publish: [
|
publish: [
|
||||||
{
|
{
|
||||||
"provider": "github",
|
"provider": "github",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue