Skip to content

[TECH]: update electron #3628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
},
"devDependencies": {
"@electron/notarize": "^2.1.0",
"@playwright/test": "1.39.0",
"@playwright/test": "1.42.1",
"@testing-library/dom": "9.0.1",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "14.0.0",
Expand All @@ -125,7 +125,7 @@
"@typescript-eslint/parser": "5.47.1",
"@vitejs/plugin-react-swc": "3.2.0",
"cross-env": "7.0.3",
"electron": "castlabs/electron-releases#27.0.0+wvcus",
"electron": "castlabs/electron-releases#29.1.3+wvcus",
"electron-builder": "24.6.4",
"electron-devtools-installer": "3.2.0",
"eslint": "8.36.0",
Expand Down
4 changes: 2 additions & 2 deletions src/backend/api/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ipcRenderer, TitleBarOverlayOptions } from 'electron'
import { ipcRenderer, TitleBarOverlay } from 'electron'
import {
Runner,
InstallPlatform,
Expand Down Expand Up @@ -135,7 +135,7 @@ export const getThemeCSS = async (theme: string) =>

export const getCustomThemes = async () => ipcRenderer.invoke('getCustomThemes')

export const setTitleBarOverlay = (options: TitleBarOverlayOptions) =>
export const setTitleBarOverlay = (options: TitleBarOverlay) =>
ipcRenderer.send('setTitleBarOverlay', options)

export const isGameAvailable = async (args: {
Expand Down
8 changes: 2 additions & 6 deletions src/common/typedefs/ipcBridge.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { EventEmitter } from 'node:events'
import {
IpcMainEvent,
OpenDialogOptions,
TitleBarOverlayOptions
} from 'electron'
import { IpcMainEvent, OpenDialogOptions, TitleBarOverlay } from 'electron'

import {
Runner,
Expand Down Expand Up @@ -108,7 +104,7 @@ interface SyncIPCFunctions {
maximizeWindow: () => void
unmaximizeWindow: () => void
closeWindow: () => void
setTitleBarOverlay: (options: TitleBarOverlayOptions) => void
setTitleBarOverlay: (options: TitleBarOverlay) => void
winetricksInstall: ({
runner: Runner,
appName: string,
Expand Down
44 changes: 22 additions & 22 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.