general update checking improvements + jsdoc + dev mode notifs

This commit is contained in:
child_duckling 2022-03-04 22:54:06 -08:00
parent 18f9df48e7
commit 159ee76432
6 changed files with 65 additions and 9 deletions

View file

@ -4,6 +4,12 @@ import * as path from 'path';
import * as log from 'electron-log';
import {utils} from './utils';
/**
* @file Creates App instance
* @author CiderCollective
*/
/** @namespace */
export class AppEvents {
private protocols: string[] = [
"ame",
@ -17,6 +23,7 @@ export class AppEvents {
private tray: any = undefined;
private i18n: any = undefined;
/** @constructor */
constructor() {
this.start();
}
@ -90,6 +97,7 @@ export class AppEvents {
/***********************************************************************************************************************
* Protocols
**********************************************************************************************************************/
/** */
if (process.defaultApp) {
if (process.argv.length >= 2) {
this.protocols.forEach((protocol: string) => {