Desktop: load the preload in packaged builds

env.ts re-exported Forge's declared MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY, which compiles to an export that stays undefined: DefinePlugin replaces only direct uses of the name. The window had no preload, so SP_ELECTRON, and with it the OBS setup bridge, was missing. The Forge globals are now declared ambiently and used directly.


Author Eli Mallon Date Commit Parent 339bffc6
+7 -10
4 changed files
+7 -10
4 changed files