diff --git a/.forgejo/ISSUE_TEMPLATE/feature-request.yml b/.forgejo/ISSUE_TEMPLATE/feature-request.yml deleted file mode 100644 index bacf7ed..0000000 --- a/.forgejo/ISSUE_TEMPLATE/feature-request.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Feature request -description: Suggest an idea for Kettu -title: "[feature]: " -labels: [enhancement] -body: - - type: markdown - attributes: - value: | - # Revenge feature request - - Before creating a new feature request, please keep the following in mind: - - - **Do not submit a duplicate feature request**: Search for existing feature requests [here](https://github.com/revenge-mod/revenge-bundle/issues?q=label%3A%22Feature+request%22). - - **Review the contribution guidelines**: Make sure your feature request adheres to it. You can find the guidelines [here](https://github.com/revenge-mod/revenge-bundle/blob/main/CONTRIBUTING.md). - - **Do not use the issue page for support**: If you need help or have questions, join us on [Discord](https://discord.gg/ddcQf3s2Uq). - - type: textarea - attributes: - label: Feature description - description: What feature you want Kettu to have? Provide detailed description about what it should look like or where it should be added. - validations: - required: true - - - type: textarea - attributes: - label: Motivation - description: | - A strong motivation is necessary for a feature request to be considered. - - - Why should this feature be implemented? - - What is the explicit use case? - - What are the benefits? - - What makes this feature important? - validations: - required: true - - type: checkboxes - id: acknowledgements - attributes: - label: Acknowledgements - description: Your feature request will be closed if you don't follow the checklist below. - options: - - label: I have checked all open and closed feature requests and this is not a duplicate - required: true - - label: I have chosen an appropriate title. - required: true - - label: All requested information has been provided properly. - required: true diff --git a/src/core/ui/reporter/components/ErrorBoundaryScreen.tsx b/src/core/ui/reporter/components/ErrorBoundaryScreen.tsx index bf4824e..29b5213 100644 --- a/src/core/ui/reporter/components/ErrorBoundaryScreen.tsx +++ b/src/core/ui/reporter/components/ErrorBoundaryScreen.tsx @@ -33,7 +33,7 @@ export default function ErrorBoundaryScreen(props: { Uh oh. - A crash occurred while rendering a component. This could be caused by a plugin, Revenge, or Discord itself. + A crash occurred while rendering a component. This could be caused by a plugin, Kettu, or Discord itself. {debugInfo.os.name}; {debugInfo.discord.build} ({debugInfo.discord.version}); {debugInfo.bunny.version} diff --git a/src/entry.ts b/src/entry.ts index cc1d806..c0f7e4a 100644 --- a/src/entry.ts +++ b/src/entry.ts @@ -5,7 +5,7 @@ const { instead } = require("spitroast"); // @ts-ignore - window is defined later in the bundle, so we assign it early globalThis.window = globalThis; -async function initializeRevenge() { +async function initializeKettu() { try { // Make 'freeze' and 'seal' do nothing Object.freeze = Object.seal = Object; @@ -31,7 +31,6 @@ if (typeof window.__r === "undefined") { var _requireFunc: any; // Calls from the native side are deferred until the index.ts(x) is loaded - // Revenge delays the execution of index.ts(x) because Revenge's initialization is asynchronous interface DeferredQueue { object: any; method: string; @@ -102,7 +101,7 @@ if (typeof window.__r === "undefined") { } const startDiscord = async () => { - await initializeRevenge(); + await initializeKettu(); for (const unpatch of unpatches) unpatch(); unpatches.length = 0; @@ -143,7 +142,5 @@ if (typeof window.__r === "undefined") { } }); } else { - // It is too late to late to hook __r, so we just initialize Revenge here - // Likely because of using the legacy loader (from Vendetta) - initializeRevenge(); + initializeKettu(); } \ No newline at end of file