This repository has been archived on 2023-12-17. You can view files and clone it, but cannot push or open issues or pull requests.
2023-07-17 19:28:58 +00:00
|
|
|
import { boot } from "./bootloader/kernel.js";
|
2023-07-18 19:53:23 +00:00
|
|
|
import { handleIncomingMessage } from "./bootloader/messages.js";
|
2022-07-29 10:37:20 +00:00
|
|
|
|
2023-04-03 17:29:20 +00:00
|
|
|
declare var browser: any; // tsc
|
2022-07-29 10:37:20 +00:00
|
|
|
|
2023-01-14 08:01:41 +00:00
|
|
|
document.title = "kernel.lume";
|
2022-07-29 10:37:20 +00:00
|
|
|
let header = document.createElement("h1");
|
|
|
|
header.textContent =
|
|
|
|
"Something went wrong! You should not be visiting this page, this page should only be accessed via an invisible iframe.";
|
|
|
|
document.body.appendChild(header);
|
|
|
|
|
2023-07-17 19:28:58 +00:00
|
|
|
window.addEventListener("message", handleIncomingMessage);
|
2022-07-29 10:37:20 +00:00
|
|
|
|
2023-07-17 19:28:58 +00:00
|
|
|
boot();
|