feat: bumps electron@28, vite@5, vite-plugin-electron@0.28.0-beta.2
This commit is contained in:
1 parent
5303923340
commit
208ab386b1
12 files changed
+164
-54
No files matched your search
@@ -1,10 +1,12 @@
|
||||
import { app, ipcMain } from 'electron'
|
||||
import {
|
||||
type ProgressInfo,
|
||||
type UpdateDownloadedEvent,
|
||||
autoUpdater
|
||||
import { createRequire } from 'node:module'
|
||||
import type {
|
||||
ProgressInfo,
|
||||
UpdateDownloadedEvent,
|
||||
} from 'electron-updater'
|
||||
|
||||
const { autoUpdater } = createRequire(import.meta.url)('electron-updater');
|
||||
|
||||
export function update(win: Electron.BrowserWindow) {
|
||||
|
||||
// When set to false, the update download will be triggered through the API
|
||||
|
||||
Reference in new issue
Block a user