[Init] Async-ify, for future use

This commit is contained in:
Beef 2022-10-25 23:50:18 +01:00
parent 91be38564d
commit 88e4f357a4

View file

@ -8,6 +8,8 @@ import initSettings from "@ui/settings";
import { patchLogHook } from "@lib/debug"; import { patchLogHook } from "@lib/debug";
console.log("Hello from Vendetta!"); console.log("Hello from Vendetta!");
async function init() {
let erroredOnLoad = false; let erroredOnLoad = false;
try { try {
@ -35,3 +37,6 @@ try {
} }
if (!erroredOnLoad) logger.log("Vendetta is ready!"); if (!erroredOnLoad) logger.log("Vendetta is ready!");
};
init();