fix(updateSha): use comma as delimiter and update vencord

This commit is contained in:
matt1432 2023-10-25 15:20:04 -04:00
parent 64ba30eb75
commit 60ec3947a4
2 changed files with 4 additions and 4 deletions

View file

@ -4,8 +4,8 @@ final: prev: {
src = prev.fetchFromGitHub {
owner = "Vendicated";
repo = "Vencord";
rev = "3bd657611cbc6b3cf3142ae59c39713922d167df";
hash = "sha256-fbYHfyPYN7LH9NlOpeEa10rA9LEibhxj9ZHmOZabETc=";
rev = "70943455161031d63a4481249d14833afe94f5a5";
hash = "sha256-i/n7qPQ/dloLUYR6sj2fPJnvvL80/OQC3s6sOqhu2dQ=";
};
});
}

View file

@ -4,8 +4,8 @@ parseNurl() {
REV=$(nurl -j "$1" | jq '.["args"].["rev"]')
HASH=$(nurl -j "$1" | jq '.["args"].["hash"]')
sed -i "s/rev = .*/rev = $REV;/" "$2"
sed -i "s/hash = .*/hash = $HASH;/" "$2"
sed -i "s,rev = .*,rev = $REV;," "$2"
sed -i "s,hash = .*,hash = $HASH;," "$2"
}
updateVencord() {