2023-04-05 20:54:14 +01:00
|
|
|
import { ClientInfoManager } from "@lib/native";
|
|
|
|
|
|
|
|
|
|
// This logs in the native logging implementation, e.g. logcat
|
2024-02-09 10:37:36 +08:00
|
|
|
console.log("Hello from Bunny! Pyon!");
|
2023-04-05 20:54:14 +01:00
|
|
|
|
2023-10-04 14:01:27 +08:00
|
|
|
// Make 'freeze' and 'seal' do nothing
|
|
|
|
|
Object.freeze = Object;
|
|
|
|
|
Object.seal = Object;
|
|
|
|
|
|
2023-05-13 17:33:22 +01:00
|
|
|
import(".").then((m) => m.default()).catch((e) => {
|
|
|
|
|
console.log(e?.stack ?? e.toString());
|
|
|
|
|
alert([
|
|
|
|
|
"Failed to load Vendetta!\n",
|
|
|
|
|
`Build Number: ${ClientInfoManager.Build}`,
|
|
|
|
|
`Vendetta: ${__vendettaVersion}`,
|
|
|
|
|
e?.stack || e.toString(),
|
|
|
|
|
].join("\n"));
|
|
|
|
|
});
|