vencord: 1.4.7 -> 1.5.3

This commit is contained in:
Legion Orsetti 2023-09-27 20:42:17 +02:00
parent bd522b0787
commit 17009f3ff7
No known key found for this signature in database
GPG key ID: 18E1AE22D704B4FC
2 changed files with 561 additions and 1126 deletions

View file

@ -6,8 +6,8 @@
, buildWebExtension ? false
}:
let
version = "1.4.7";
gitHash = "25a1d93";
version = "1.5.3";
gitHash = "6227777";
in
buildNpmPackage rec {
pname = "vencord";
@ -17,7 +17,7 @@ buildNpmPackage rec {
owner = "Vendicated";
repo = "Vencord";
rev = "v${version}";
sha256 = "sha256-bSLPZJyBKws+6IE4YTgQTMau5yKpHJdq5tw6Jg1Uc/s=";
sha256 = "sha256-yRbFXjPJq0Ui7JW6YhlfnDf+YWyO5qzJTntEyFLVcVY=";
};
ESBUILD_BINARY_PATH = lib.getExe (esbuild.override {
@ -36,13 +36,15 @@ buildNpmPackage rec {
# Supresses an error about esbuild's version.
npmRebuildFlags = [ "|| true" ];
npmDepsHash = "sha256-GoVVOLg20oi0MJGLqevpiqHDM/7yaRJSQnM/tt+AkQ8=";
makeCacheWritable = true;
npmDepsHash = "sha256-/aEyvEmVCqKKgRvqoz7CSz17HTAxPMBBL47JsE3RcI4=";
npmFlags = [ "--legacy-peer-deps" ];
npmBuildScript = if buildWebExtension then "buildWeb" else "build";
npmBuildFlags = [ "--" "--standalone" "--disable-updater" ];
prePatch = ''
cp ${./package-lock.json} ./package-lock.json
chmod +w ./package-lock.json
'';
VENCORD_HASH = gitHash;

File diff suppressed because it is too large Load diff