diff --git a/src/equicordplugins/customSounds.dev/components/SoundOverrideComponent.tsx b/src/equicordplugins/customSounds/components/SoundOverrideComponent.tsx similarity index 100% rename from src/equicordplugins/customSounds.dev/components/SoundOverrideComponent.tsx rename to src/equicordplugins/customSounds/components/SoundOverrideComponent.tsx diff --git a/src/equicordplugins/customSounds.dev/index.tsx b/src/equicordplugins/customSounds/index.tsx similarity index 93% rename from src/equicordplugins/customSounds.dev/index.tsx rename to src/equicordplugins/customSounds/index.tsx index ad334847..167d5eb4 100644 --- a/src/equicordplugins/customSounds.dev/index.tsx +++ b/src/equicordplugins/customSounds/index.tsx @@ -59,8 +59,8 @@ export default definePlugin({ replacement: [ // override URL { - match: /(?<=new Audio;\i\.src=)\i\([0-9]+\)\("\.\/"\.concat\(this\.name,"\.mp3"\)/, - replace: "$self.findOverride(this.name)?.url || $&" + match: /\i\([0-9]+\)\(.{1,20}(\i),"\.mp3"\)/, + replace: "$self.findOverride($1)?.url || $&" }, // override volume { diff --git a/src/equicordplugins/customSounds.dev/styles.css b/src/equicordplugins/customSounds/styles.css similarity index 100% rename from src/equicordplugins/customSounds.dev/styles.css rename to src/equicordplugins/customSounds/styles.css diff --git a/src/equicordplugins/customSounds.dev/types.ts b/src/equicordplugins/customSounds/types.ts similarity index 100% rename from src/equicordplugins/customSounds.dev/types.ts rename to src/equicordplugins/customSounds/types.ts