Remove callbacks from samples

This commit is contained in:
Caelan Sayler
2025-03-03 21:22:14 +00:00
committed by Caelan
parent 74e6ffedb2
commit 1eacd710d5
3 changed files with 1 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
import { app, BrowserWindow } from 'electron';
import { VelopackApp, setVelopackLogger } from "velopack";
import { VelopackApp } from "velopack";
import { initializeUpdates } from "./update"
// This allows TypeScript to pick up the magic constants that's auto-generated by Forge's Webpack
// plugin that tells the Electron app where to look for the Webpack-bundled app code (depending on
@@ -9,7 +9,6 @@ declare const MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY: string;
// VelopackApp should be the first thing to run in startup
// as it may need to quit / restart the application at certain points
setVelopackLogger((lvl, msg) => console.log(`Velopack [${lvl}] ${msg}`));
VelopackApp.build().run();
// Configure IPC listener for Velopack update messages