overrides: patch domain into vencord csp

This commit is contained in:
Infinidoge 2025-06-14 01:21:52 -04:00
parent 9fb131c64b
commit eadc5655f4
Signed by: Infinidoge
SSH key fingerprint: SHA256:GT2StvPQMMfFHyiiFJymQxfTG/z6EWLJ6NWItf5K5sA
2 changed files with 4 additions and 0 deletions

View file

@ -55,6 +55,9 @@ in
VENCORD_REMOTE = "Vendicated/Vencord";
VENCORD_HASH = builtins.substring 0 9 inputs.vencord.rev;
};
postPatch = ''
sed -i '/export const CspPolicies/a "inx.moe": ImageScriptsAndCssSrc,' src/main/csp/index.ts
'';
#pnpmDeps = latest.pnpm.fetchDeps {
# inherit (old) pname;
# inherit version src;