chore: remove instances of Vendetta in places

This hopefully shouldn't break things, unless some kind of plugin depend on finding stuff with the string `Vendetta`. That is a very bad practice though
This commit is contained in:
PalmDevs 2024-02-08 23:58:41 +07:00
parent 6728bb9270
commit d0b9d63d12
No known key found for this signature in database
GPG key ID: ADC432EE981495A3
16 changed files with 38 additions and 35 deletions

View file

@ -1,7 +1,7 @@
import { ClientInfoManager } from "@lib/native";
// This logs in the native logging implementation, e.g. logcat
console.log("Hello from Vendetta!");
console.log("Hello from Revenge!");
// Make 'freeze' and 'seal' do nothing
Object.freeze = Object;
@ -10,9 +10,10 @@ Object.seal = Object;
import(".").then((m) => m.default()).catch((e) => {
console.log(e?.stack ?? e.toString());
alert([
"Failed to load Vendetta!\n",
"Failed to load Revenge!\n",
`Build Number: ${ClientInfoManager.Build}`,
`Vendetta: ${__vendettaVersion}`,
// TODO: Rename this
`Revenge: ${__vendettaVersion}`,
e?.stack || e.toString(),
].join("\n"));
});