Merge pull request #1 from rice-cracker-dev/fix-load

fix script not loading on firefox
This commit is contained in:
ShinkoNet 2025-08-13 07:27:05 +10:00 committed by GitHub
commit 70a841aa69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,15 @@
/// <reference types="tampermonkey" />
// @ts-nocheck
import { bootstrapApp } from './app';
import { bootstrapApp } from "./app";
(function () {
'use strict';
bootstrapApp().catch(e => console.error('Overlay Pro bootstrap failed', e));
"use strict";
window.onload = () => {
bootstrapApp().catch((e) =>
console.error("Overlay Pro bootstrap failed", e),
);
};
})();
export {};
export {};