Remove unnecessary imports and variables

This commit is contained in:
Shidorien
2023-12-21 02:58:12 +01:00
parent 57157b4553
commit f57926e41b
2 changed files with 1 additions and 10 deletions
+1 -2
View File
@@ -2,10 +2,9 @@
import { LaunchOption } from "shared/models/bs-launch";
import { BSLauncherService } from "../services/bs-launcher/bs-launcher.service"
import { IpcService } from '../services/ipc.service';
import { from, of } from "rxjs";
import { from} from "rxjs";
import { SteamLauncherService } from "../services/bs-launcher/steam-launcher.service";
import { OculusLauncherService } from "../services/bs-launcher/oculus-launcher.service";
import { AutoUpdaterService } from "../services/auto-updater.service";
const ipc = IpcService.getInstance();
@@ -2,18 +2,12 @@ import { autoUpdater } from "electron-updater";
import log from "electron-log";
import { UtilsService } from "./utils.service";
import { gt } from "semver";
import { Observable } from "rxjs";
import { ConfigurationService } from "./configuration.service";
export class AutoUpdaterService {
private static instance: AutoUpdaterService;
private readonly utilsService: UtilsService;
private readonly ConfigurationService: ConfigurationService
private readonly HAVE_BEEN_UPDATED_KEY : string;
public static getInstance(): AutoUpdaterService {
if (!AutoUpdaterService.instance) {
AutoUpdaterService.instance = new AutoUpdaterService();
@@ -26,8 +20,6 @@ export class AutoUpdaterService {
autoUpdater.autoDownload = false;
this.utilsService = UtilsService.getInstance();
this.ConfigurationService = ConfigurationService.getInstance();
this.HAVE_BEEN_UPDATED_KEY = "haveBeenUpdated";
}
public isUpdateAvailable(): Promise<boolean> {