From e3d61cb60108a6b69436852ada1d52b9077acca1 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 14 Sep 2025 10:51:57 -0400 Subject: [PATCH] Building: Ignore File Types --- scripts/build/common.mjs | 1 + src/plugins/onePingPerDM/index.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build/common.mjs b/scripts/build/common.mjs index b9b603396..e29404d36 100644 --- a/scripts/build/common.mjs +++ b/scripts/build/common.mjs @@ -162,6 +162,7 @@ export const globPlugins = kind => ({ const fileName = file.name; if (fileName.startsWith("_") || fileName.startsWith(".")) continue; if (fileName === "index.ts") continue; + if (/\.zip|rar|7z|tar|gz|bz2/.test(fileName)) continue; const target = getPluginTarget(fileName); diff --git a/src/plugins/onePingPerDM/index.ts b/src/plugins/onePingPerDM/index.ts index ff6428953..817523b4e 100644 --- a/src/plugins/onePingPerDM/index.ts +++ b/src/plugins/onePingPerDM/index.ts @@ -39,7 +39,7 @@ const settings = definePluginSettings({ }, alwaysPlaySound: { type: OptionType.BOOLEAN, - description: "Play message sound even when message sound is disabled", + description: "Play the message notification sound even when its disabled", restartNeeded: true, default: false }