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

@ -15,8 +15,6 @@ export class AppEvents {
private static win: any = null;
constructor(store: any) {
console.log('App started');
AppEvents.store = store
AppEvents.start(store);
}
@ -26,7 +24,7 @@ export class AppEvents {
* @returns {void}
*/
private static start(store: any): void {
console.log('App started');
console.info('[AppEvents] App started');
/**********************************************************************************************************************
* Startup arguments handling
@ -38,7 +36,7 @@ export class AppEvents {
// Verbose Check
if (electron.app.commandLine.hasSwitch('verbose')) {
console.log("[Apple-Music-Electron] User has launched the application with --verbose");
console.log("[Cider] User has launched the application with --verbose");
}
// Log File Location
@ -103,7 +101,7 @@ export class AppEvents {
public ready(plug: any) {
AppEvents.plugin = plug
console.log('App ready');
console.log('[AppEvents] App ready');
}
public bwCreated(win: Electron.BrowserWindow) {