Revenge/src/index.ts

18 lines
465 B
TypeScript
Raw Normal View History

2022-10-18 22:04:55 +00:00
import patcher from "@lib/patcher";
import logger from "@lib/logger";
import * as metro from "@metro/filters";
import * as common from "@metro/common";
console.log("Hello from Vendetta!");
try {
window.vendetta = {
patcher: patcher,
metro: { ...metro, common: common },
logger: logger,
};
logger.log("Vendetta is ready!");
} catch (e: Error | any) {
alert(`Vendetta failed to initialize...\n${e.stack || e.toString()}`);
}