Merge branch 'develop' of https://github.com/ciderapp/Cider into develop
This commit is contained in:
commit
2fb35919f5
3 changed files with 6 additions and 1 deletions
|
@ -64,6 +64,7 @@ export class Plugins {
|
|||
app: electron.app,
|
||||
store: utils.getStore(),
|
||||
utils: utils,
|
||||
win: utils.getWindow(),
|
||||
dir: pluginPath
|
||||
}
|
||||
plugins[plugin.name] = new plugin(pluginEnv);
|
||||
|
|
|
@ -61,6 +61,10 @@ app.on('ready', () => {
|
|||
* Renderer Event Handlers
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
ipcMain.handle("renderer-ready", (event) => {
|
||||
CiderPlug.callPlugins("onRendererReady", event);
|
||||
})
|
||||
|
||||
ipcMain.on('playbackStateDidChange', (_event, attributes) => {
|
||||
CiderPlug.callPlugins('onPlaybackStateDidChange', attributes);
|
||||
});
|
||||
|
|
|
@ -821,7 +821,7 @@ const app = new Vue({
|
|||
this.getBrowsePage();
|
||||
this.$forceUpdate()
|
||||
}, 500)
|
||||
|
||||
ipcRenderer.invoke("renderer-ready", true)
|
||||
},
|
||||
setTheme(theme = "") {
|
||||
console.log(theme)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue