Merge pull request #257701 from fwam/vencord

vencord: 1.4.7 -> 1.5.3
This commit is contained in:
Thiago Kenji Okada 2023-09-28 15:07:27 +01:00 committed by GitHub
commit a77c2b2177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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