Skip to content

Commit

Permalink
upgrade electron (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrehault authored Oct 16, 2023
1 parent b8dc144 commit e36632d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions apps/desktop/electron/src/app/events/update.events.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { app, autoUpdater, dialog } from 'electron';
import { MessageBoxOptions, app, autoUpdater, dialog } from 'electron';
import { platform, arch } from 'os';
import { updateServerUrl } from '../constants';
import App from '../app';
Expand Down Expand Up @@ -27,7 +27,7 @@ export default class UpdateEvents {
}

autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName, releaseDate) => {
const dialogOpts = {
const dialogOpts: MessageBoxOptions = {
type: 'info',
buttons: ['Restart', 'Later'],
title: 'Application Update',
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export class AppComponent implements OnInit {
private user: UserService,
private sdk: SDKService,
private router: Router,
private modalService: SisModalService,
private tracking: STFTrackingService,
private modalService: SisModalService,
private cdr: ChangeDetectorRef,
) {
this.initTranslate(undefined);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuclia",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"author": "Nuclia.cloud",
"description": "Nuclia frontend apps and libs",
Expand Down Expand Up @@ -146,7 +146,7 @@
"concurrently": "^8.0.1",
"crypto-browserify": "^3.12.0",
"dotenv": "10.0.0",
"electron": "^24.0.0",
"electron": "^24.8.5",
"electron-builder": "23.6.0",
"electron-notarize": "^1.2.1",
"es-dirname": "^0.1.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13309,16 +13309,16 @@ __metadata:
languageName: node
linkType: hard

"electron@npm:^24.0.0":
version: 24.1.2
resolution: "electron@npm:24.1.2"
"electron@npm:^24.8.5":
version: 24.8.8
resolution: "electron@npm:24.8.8"
dependencies:
"@electron/get": ^2.0.0
"@types/node": ^18.11.18
extract-zip: ^2.0.1
bin:
electron: cli.js
checksum: 54b012bed51c0cadcb8cc7bc2bdd9c46969214bc2532d57699da2c9ec6fbfeb8b5752c56c1c05c8d8ab46b3d6856db861a23a1124012024ae0131e5df9acc269
checksum: 9a011c37607ca3e55b6b68a4b705e7e5d68961a6e7ec564b44c13c6f743d531aa6938fe5d0cccd3a860d9a825a662a53443e8be5430e023baaa33f5aec650c41
languageName: node
linkType: hard

Expand Down Expand Up @@ -19726,7 +19726,7 @@ __metadata:
date-fns: ^2.29.3
deepmerge-ts: ^5.1.0
dotenv: 10.0.0
electron: ^24.0.0
electron: ^24.8.5
electron-builder: 23.6.0
electron-notarize: ^1.2.1
electron-updater: ^5.0.1
Expand Down

0 comments on commit e36632d

Please sign in to comment.