mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Remove callbacks from samples
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user