upgpkg: discord-electron 0.0.29-2

Update Electron version to 24
Update Krisp patch
This commit is contained in:
Manuel 2023-08-30 23:55:45 +02:00
parent 4b238b0477
commit 91e85d8a11
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 10 additions and 11 deletions

View file

@ -12,8 +12,8 @@ krisp_b2=@KRISPB2@
if hash rizin &> /dev/null; then
# Patch Krisp binary to ignore signature check
if [[ -f "${krisp_bin}" && $(b2sum "${krisp_bin}" | head -c 128) == $krisp_b2 ]]; then
addr=$(rz-find -x '4889dfe8........4889dfe8' "${krisp_bin}" | head -n1)
rizin -q -w -c "s $addr + 0x12 ; wao nop" "${krisp_bin}" &> /dev/null
addr=$(rz-find -x '4881ec00010000' "${krisp_bin}" | head -n1)
rizin -q -w -c "s $addr + 0x30 ; wao nop" "${krisp_bin}" &> /dev/null
fi
fi