This commit is contained in:
thororen1234 2025-04-04 21:29:37 -04:00
parent aca48cb9e5
commit 5f8c0c0f0e
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -59,7 +59,7 @@ jobs:
cp desktop/* release
for file in equibop/*; do
filename=$(basename "$file")
cp "$file" "release/equicordDesktop${filename^}"
cp "$file" "release/equibop${filename^}"
done
find release -size 0 -delete

View file

@ -45,7 +45,7 @@ interface PluginData {
commands: Command[];
required: boolean;
enabledByDefault: boolean;
target: "discordDesktop" | "vencordDesktop" | "equicordDesktop" | "desktop" | "web" | "dev";
target: "discordDesktop" | "vencordDesktop" | "equibop" | "desktop" | "web" | "dev";
filePath: string;
}
@ -215,7 +215,7 @@ async function parseFile(fileName: string) {
const target = getPluginTarget(fileName);
if (target) {
if (!["web", "discordDesktop", "vencordDesktop", "equicordDesktop", "desktop", "dev"].includes(target)) throw fail(`invalid target ${target}`);
if (!["web", "discordDesktop", "vencordDesktop", "equibop", "desktop", "dev"].includes(target)) throw fail(`invalid target ${target}`);
data.target = target as any;
}

View file

@ -83,8 +83,8 @@ export default definePlugin({
// this also affects name headers in chats outside of servers
find: '="SYSTEM_TAG"',
replacement: {
match: /(?<=\i.gradientClassName]\),style:.{0,80}:void 0\}\)\(\),)/,
replace: "style:{color:$self.colorIfServer(arguments[0])},"
match: /\i.gradientClassName]\),style:/,
replace: "$&{color:$self.colorIfServer(arguments[0])},_style:"
},
predicate: () => !Settings.plugins.IrcColors.enabled
},