Possible Fix

This commit is contained in:
thororen1234 2024-10-28 21:59:06 -04:00
parent 03488f7612
commit c18792f9d2
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,6 @@ import { SettingsRouter } from "./webpack/common";
if (IS_REPORTER) { if (IS_REPORTER) {
require("./debug/runReporter"); require("./debug/runReporter");
Settings.plugins.CharacterCounter.enabled = false; Settings.plugins.CharacterCounter.enabled = false;
Settings.plugins.FixFileExtensions.enabled = false;
} }
async function syncSettings() { async function syncSettings() {

View file

@ -7,7 +7,7 @@
import { Upload } from "@api/MessageEvents"; import { Upload } from "@api/MessageEvents";
import { Settings } from "@api/Settings"; import { Settings } from "@api/Settings";
import { EquicordDevs } from "@utils/constants"; import { EquicordDevs } from "@utils/constants";
import definePlugin from "@utils/types"; import definePlugin, { ReporterTestable } from "@utils/types";
import { reverseExtensionMap } from "./components"; import { reverseExtensionMap } from "./components";
@ -17,6 +17,7 @@ export default definePlugin({
name: "FixFileExtensions", name: "FixFileExtensions",
authors: [EquicordDevs.thororen], authors: [EquicordDevs.thororen],
description: "Fixes file extensions by renaming them to a compatible supported format if possible", description: "Fixes file extensions by renaming them to a compatible supported format if possible",
reporterTestable: ReporterTestable.None,
patches: [ patches: [
// Taken from AnonymiseFileNames // Taken from AnonymiseFileNames
{ {