Skip to content

Commit

Permalink
Merge pull request #305032 from Scrumplex/pkgs/vencord/update-2024-04
Browse files Browse the repository at this point in the history
vencord: 1.7.4 -> 1.7.8
  • Loading branch information
Aleksanaa authored Apr 19, 2024
2 parents 8f6a799 + cae17fe commit 016df4b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
40 changes: 20 additions & 20 deletions pkgs/by-name/ve/vencord/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pkgs/by-name/ve/vencord/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
, buildWebExtension ? false
}:
let
version = "1.7.4";
gitHash = "bdef47e";
version = "1.7.8";
gitHash = "97ce410";
in
buildNpmPackage rec {
pname = "vencord";
Expand All @@ -16,7 +16,7 @@ buildNpmPackage rec {
owner = "Vendicated";
repo = "Vencord";
rev = "v${version}";
hash = "sha256-Ub8VzeTkka0oq0CYN/UHjOIH2y3F7Oy9QZpTi6glehI=";
hash = "sha256-5kMBUdFupVxmlQ7NVJ7qzFoyQieDGHrFNkrzhlhEzJ0=";
};

ESBUILD_BINARY_PATH = lib.getExe (esbuild.overrideAttrs (final: _: {
Expand All @@ -34,7 +34,7 @@ buildNpmPackage rec {
npmRebuildFlags = [ "|| true" ];

makeCacheWritable = true;
npmDepsHash = "sha256-/iUNvTk51aoh0TmDXgFG425I37xFuIddkrceF0pNBcE=";
npmDepsHash = "sha256-LdLPNM2yCUXh0PxAbzI2YNF6QoX1iG2TixMh6XdVuX0=";
npmFlags = [ "--legacy-peer-deps" ];
npmBuildScript = if buildWebExtension then "buildWeb" else "build";
npmBuildFlags = [ "--" "--standalone" "--disable-updater" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ve/vencord/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ popd

update-source-version vencord "${latestTag#v}"

sed -E 's#\bgitHash = ".*?"#gitHash = "'"${gitHash:0:7}"'"#' -i "$pkgDir/default.nix"
sed -E 's#\bnpmDepsHash = ".*?"#npmDepsHash = "'"$npmDepsHash"'"#' -i "$pkgDir/default.nix"
sed -E 's#\bgitHash = ".*?"#gitHash = "'"${gitHash:0:7}"'"#' -i "$pkgDir/package.nix"
sed -E 's#\bnpmDepsHash = ".*?"#npmDepsHash = "'"$npmDepsHash"'"#' -i "$pkgDir/package.nix"
cp "$tempDir/package-lock.json" "$pkgDir/package-lock.json"

0 comments on commit 016df4b

Please sign in to comment.