DiscordRPC Plugin Overhaul

This commit is contained in:
Core 2022-01-26 20:48:05 +00:00
parent 27becacbb7
commit 0cb80539db
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
6 changed files with 112 additions and 144 deletions

View file

@ -21,7 +21,7 @@ export default class ExamplePlugin {
constructor(app: any, store: any) {
this._app = app;
this._store = store;
console.log('Example plugin loaded');
console.debug(`[Plugin][${this.name}] Loading Complete.`);
}
/**
@ -29,14 +29,14 @@ export default class ExamplePlugin {
*/
onReady(win: any): void {
this._win = win;
console.log('Example plugin ready');
console.debug(`[Plugin][${this.name}] Ready.`);
}
/**
* Runs on app stop
*/
onBeforeQuit(): void {
console.log('Example plugin stopped');
console.debug(`[Plugin][${this.name}] Stopped.`);
}
/**