feat: check and download updates at startup

This commit is contained in:
reaper
2026-08-14 13:50:34 -05:00
parent 55715d9fa4
commit 7b59a1cd90
6 changed files with 158 additions and 5 deletions
+2
View File
@@ -11,6 +11,7 @@ import { registerCreateIpc } from './ipc/create'
import { registerWindowIpc } from './ipc/window'
import { registerSecretsIpc } from './ipc/secrets'
import { killAllRunningCommands, powerOffAllProjects } from './commandRunner'
import { startAutomaticUpdates } from './updater'
function createWindow(): void {
// Create the browser window.
@@ -69,6 +70,7 @@ app.whenReady().then(() => {
registerSecretsIpc()
createWindow()
startAutomaticUpdates()
app.on('activate', function () {
// On macOS it's common to re-create a window in the app when the