diff --git a/src/main/bootloader/kernel.ts b/src/main/bootloader/kernel.ts index f8e668f..9e354d9 100644 --- a/src/main/bootloader/kernel.ts +++ b/src/main/bootloader/kernel.ts @@ -9,7 +9,6 @@ import { import { log, logErr, sendAuthUpdate } from "./util.js"; import { defaultKernelLink, - setBootloaderPortals, setKernelLoaded, setLoginComplete, } from "./vars.js"; @@ -55,8 +54,6 @@ export async function loadKernel() { return; } - setBootloaderPortals(getActivePortals()); - try { await new Promise(async (resolve, reject) => { const url = URL.createObjectURL(await readableStreamToBlob(kernelCode)); diff --git a/src/main/bootloader/vars.ts b/src/main/bootloader/vars.ts index d8521d9..7d425bf 100644 --- a/src/main/bootloader/vars.ts +++ b/src/main/bootloader/vars.ts @@ -29,9 +29,6 @@ export function setKernelLoaded(status: string) { export function getKernelLoaded() { return kernelLoaded; } -export function setBootloaderPortals(portals: Client[]) { - window.bootloaderPortals = portals; -} export function getCommunicationKey() { if (!communicationKey) {