diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 747da7b6..c644477e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -38,7 +38,7 @@ jobs: run: scripts/build-macos.js if: github.repository == 'Eugeny/terminus' && github.event_name == 'push' env: - DEBUG: electron-builder,electron-builder:* + #DEBUG: electron-builder,electron-builder:* GH_TOKEN: ${{ secrets.GH_TOKEN }} CSC_LINK: ${{ secrets.CSC_LINK }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} diff --git a/terminus-core/src/services/updater.service.ts b/terminus-core/src/services/updater.service.ts index ab6cc149..3b665e90 100644 --- a/terminus-core/src/services/updater.service.ts +++ b/terminus-core/src/services/updater.service.ts @@ -8,6 +8,7 @@ import { Injectable } from '@angular/core' import { Logger, LogService } from './log.service' import { ElectronService } from './electron.service' import { ConfigService } from './config.service' +import { AppUpdater } from 'electron-updater' const UPDATES_URL = 'https://api.github.com/repos/eugeny/terminus/releases/latest' @@ -18,7 +19,7 @@ export class UpdaterService { private downloaded: Promise private electronUpdaterAvailable = true private updateURL: string - private autoUpdater + private autoUpdater: AppUpdater constructor ( log: LogService,