mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Possible Fix
This commit is contained in:
parent
03488f7612
commit
c18792f9d2
2 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue