vencord: fix update script

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-04-18 13:15:29 +02:00
parent b254f343ab
commit c53aa571bc
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
1 changed files with 2 additions and 2 deletions

View File

@ -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"