added remixai api

pull/5100/head
STetsing 2 months ago
parent 765907dbd0
commit d5a1bbf59c
  1. 6
      apps/remixdesktop/src/plugins/remixAIDektop.ts

@ -22,11 +22,6 @@ export class RemixAIDesktopPlugin extends ElectronBasePlugin {
constructor() { constructor() {
super(profile, clientProfile, RemixAIDesktopPluginClient) super(profile, clientProfile, RemixAIDesktopPluginClient)
this.methods = [...super.methods] this.methods = [...super.methods]
for (const client of this.clients) {
console.log(client)
client.enable()
}
} }
} }
@ -52,7 +47,6 @@ class RemixAIDesktopPluginClient extends ElectronBasePluginClient {
async onActivation(): Promise<void> { async onActivation(): Promise<void> {
console.log("Activation", "loaded the remix plugin client application side") console.log("Activation", "loaded the remix plugin client application side")
this.onload(() => { this.onload(() => {
this.emit('activated')
}) })
} }

Loading…
Cancel
Save