From 0d41dfc5eea16cac8562ca39acb42ac934f47903 Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Tue, 20 Feb 2024 16:07:06 -0600 Subject: [PATCH] Error bad!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- loader.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/loader.js b/loader.js index 0457619..6ba8734 100644 --- a/loader.js +++ b/loader.js @@ -77,7 +77,13 @@ function init_honoka(file, android, newDomain) { } window.Module = { noInitialRun: true, - onRuntimeInitialized: onloaded, + onRuntimeInitialized: async function() { + try { + await onloaded(); + } catch(e) { + document.getElementById("status").innerText = "It didnt work. Are your files/options invalid?"; + } + }, arguments: [], preRun: [], postRun: [],