mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-12-22 19:49:27 +00:00
Fix lint
This commit is contained in:
parent
03d38719b7
commit
9d0500f23e
2 changed files with 3 additions and 7 deletions
|
@ -7,9 +7,8 @@ import { createHash } from 'crypto';
|
|||
import * as tar from 'tar';
|
||||
import * as os from 'os';
|
||||
import * as pidusage from 'pidusage';
|
||||
|
||||
import AutoLaunch from 'auto-launch';
|
||||
//const AutoLaunch = require('auto-launch');
|
||||
//import AutoLaunch from 'auto-launch';
|
||||
const AutoLaunch = require('auto-launch');
|
||||
|
||||
interface Stats {
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { ElectronService } from './core/services';
|
||||
import { TranslateService } from '@ngx-translate/core';
|
||||
import { APP_CONFIG } from '../environments/environment';
|
||||
import { DaemonService } from './core/services/daemon/daemon.service';
|
||||
import { DaemonDataService } from './core/services/daemon/daemon-data.service';
|
||||
|
@ -21,12 +20,10 @@ export class AppComponent {
|
|||
|
||||
constructor(
|
||||
private electronService: ElectronService,
|
||||
private translate: TranslateService,
|
||||
private daemonService: DaemonService,
|
||||
private daemonData: DaemonDataService,
|
||||
private LogService: LogsService
|
||||
) {
|
||||
this.translate.setDefaultLang('en');
|
||||
console.log('APP_CONFIG', APP_CONFIG);
|
||||
|
||||
if (electronService.isElectron) {
|
||||
|
@ -38,7 +35,7 @@ export class AppComponent {
|
|||
console.log('Run in browser');
|
||||
}
|
||||
|
||||
this.load();
|
||||
this.load().then().catch((error: any) => console.error(error));
|
||||
}
|
||||
|
||||
private async isAutoLaunched(): Promise<boolean> {
|
||||
|
|
Loading…
Reference in a new issue