fix(updateSha): use comma as delimiter and update vencord
This commit is contained in:
parent
64ba30eb75
commit
60ec3947a4
2 changed files with 4 additions and 4 deletions
|
@ -4,8 +4,8 @@ final: prev: {
|
||||||
src = prev.fetchFromGitHub {
|
src = prev.fetchFromGitHub {
|
||||||
owner = "Vendicated";
|
owner = "Vendicated";
|
||||||
repo = "Vencord";
|
repo = "Vencord";
|
||||||
rev = "3bd657611cbc6b3cf3142ae59c39713922d167df";
|
rev = "70943455161031d63a4481249d14833afe94f5a5";
|
||||||
hash = "sha256-fbYHfyPYN7LH9NlOpeEa10rA9LEibhxj9ZHmOZabETc=";
|
hash = "sha256-i/n7qPQ/dloLUYR6sj2fPJnvvL80/OQC3s6sOqhu2dQ=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,8 @@ parseNurl() {
|
||||||
REV=$(nurl -j "$1" | jq '.["args"].["rev"]')
|
REV=$(nurl -j "$1" | jq '.["args"].["rev"]')
|
||||||
HASH=$(nurl -j "$1" | jq '.["args"].["hash"]')
|
HASH=$(nurl -j "$1" | jq '.["args"].["hash"]')
|
||||||
|
|
||||||
sed -i "s/rev = .*/rev = $REV;/" "$2"
|
sed -i "s,rev = .*,rev = $REV;," "$2"
|
||||||
sed -i "s/hash = .*/hash = $HASH;/" "$2"
|
sed -i "s,hash = .*,hash = $HASH;," "$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
updateVencord() {
|
updateVencord() {
|
||||||
|
|
Loading…
Reference in a new issue