fix: handle loadURL() failures correctly (#1093)

This commit is contained in:
Cookie
2025-04-22 16:03:17 -04:00
committed by GitHub
parent c7d830c57c
commit 3936a0a41e
5 changed files with 70 additions and 5 deletions

View File

@@ -63,6 +63,11 @@ await Promise.all([
outfile: "dist/js/preload.js",
footer: { js: "//# sourceURL=VCDPreload" }
}),
createContext({
...NodeCommonOpts,
entryPoints: ["src/preload/splash.ts"],
outfile: "dist/js/splashPreload.js"
}),
createContext({
...CommonOpts,
globalName: "Vesktop",