Plug-in entries in sub-menu

This commit is contained in:
kyw504100 2022-02-20 02:38:20 +08:00
parent cbe76cc19d
commit fe16fe4098
No known key found for this signature in database
GPG key ID: 9116E2159A0521FD
8 changed files with 54 additions and 4 deletions

View file

@ -25,6 +25,7 @@ const CiderFrontAPI = {
},
AddMenuEntry(entry) {
app.pluginMenuEntries.push(entry)
app.pluginInstalled = true
}
}
@ -76,6 +77,7 @@ const app = new Vue({
platform: "",
mk: {},
quickPlayQuery: "",
pluginInstalled: false,
pluginMenuEntries: [],
lz: ipcRenderer.sendSync("get-i18n", "en_US"),
lzListing: ipcRenderer.sendSync("get-i18n-listing"),
@ -247,6 +249,7 @@ const app = new Vue({
qrcode: false,
equalizer: false,
audioSettings: false,
pluginMenu: false,
audioControls: false,
showPlaylist: false,
},