upgpkg: discord 0.0.63-2: Fix Krisp
This commit is contained in:
parent
8dd506e2d9
commit
ed74820d5e
3 changed files with 5 additions and 5 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = discord_arch_electron
|
pkgbase = discord_arch_electron
|
||||||
pkgdesc = Discord using system provided electron for increased security and performance
|
pkgdesc = Discord using system provided electron for increased security and performance
|
||||||
pkgver = 0.0.63
|
pkgver = 0.0.63
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://discord.com
|
url = https://discord.com
|
||||||
install = discord_arch_electron.install
|
install = discord_arch_electron.install
|
||||||
arch = any
|
arch = any
|
||||||
|
@ -23,6 +23,6 @@ pkgbase = discord_arch_electron
|
||||||
source = krisp-patcher.py
|
source = krisp-patcher.py
|
||||||
sha512sums = b1695d2790b59b395c9b4c570ddcbb9b8da7629d02eab33e330f77cf5ed81db121fbe805bb40264eb32ae3a858fcdc3ede4d90982b1c13498474d45b82cb6d6e
|
sha512sums = b1695d2790b59b395c9b4c570ddcbb9b8da7629d02eab33e330f77cf5ed81db121fbe805bb40264eb32ae3a858fcdc3ede4d90982b1c13498474d45b82cb6d6e
|
||||||
sha512sums = e11a60419c6ee5944aefc1ac16a5b496518fae626627d37a5bf636975bd21b1d9b6118ec3f44e7f4283befe5fa14737ad28dc38d975967789247ac0e66c352f3
|
sha512sums = e11a60419c6ee5944aefc1ac16a5b496518fae626627d37a5bf636975bd21b1d9b6118ec3f44e7f4283befe5fa14737ad28dc38d975967789247ac0e66c352f3
|
||||||
sha512sums = ac1212b09c3c1e7af3f93294d799765a0547f20a8373bea0ecb1a3e2bcb165488eb1412141c4e577d53ae87122646b12b9339b0a3f8e6817c3865fbb3f642938
|
sha512sums = e5b4d549b29b41a71b2d871d69ef6c622bd1daefb52104165ca2f33e82a3ef02cd697bf48ff12d29895bec2da15b6fe603b0b3c93bf503b3169edf2e812038ff
|
||||||
|
|
||||||
pkgname = discord_arch_electron
|
pkgname = discord_arch_electron
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -10,7 +10,7 @@ _pkgname=discord
|
||||||
_electron=electron
|
_electron=electron
|
||||||
pkgname=${_pkgname}_arch_electron
|
pkgname=${_pkgname}_arch_electron
|
||||||
pkgver=0.0.63
|
pkgver=0.0.63
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Discord using system provided ${_electron} for increased security and performance"
|
pkgdesc="Discord using system provided ${_electron} for increased security and performance"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
provides=("${_pkgname}")
|
provides=("${_pkgname}")
|
||||||
|
@ -31,7 +31,7 @@ source=("https://dl.discordapp.net/apps/linux/${pkgver}/${_pkgname}-${pkgver}.ta
|
||||||
'krisp-patcher.py') # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
|
'krisp-patcher.py') # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
|
||||||
sha512sums=('b1695d2790b59b395c9b4c570ddcbb9b8da7629d02eab33e330f77cf5ed81db121fbe805bb40264eb32ae3a858fcdc3ede4d90982b1c13498474d45b82cb6d6e'
|
sha512sums=('b1695d2790b59b395c9b4c570ddcbb9b8da7629d02eab33e330f77cf5ed81db121fbe805bb40264eb32ae3a858fcdc3ede4d90982b1c13498474d45b82cb6d6e'
|
||||||
'e11a60419c6ee5944aefc1ac16a5b496518fae626627d37a5bf636975bd21b1d9b6118ec3f44e7f4283befe5fa14737ad28dc38d975967789247ac0e66c352f3'
|
'e11a60419c6ee5944aefc1ac16a5b496518fae626627d37a5bf636975bd21b1d9b6118ec3f44e7f4283befe5fa14737ad28dc38d975967789247ac0e66c352f3'
|
||||||
'ac1212b09c3c1e7af3f93294d799765a0547f20a8373bea0ecb1a3e2bcb165488eb1412141c4e577d53ae87122646b12b9339b0a3f8e6817c3865fbb3f642938')
|
'e5b4d549b29b41a71b2d871d69ef6c622bd1daefb52104165ca2f33e82a3ef02cd697bf48ff12d29895bec2da15b6fe603b0b3c93bf503b3169edf2e812038ff')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# prepare launcher script
|
# prepare launcher script
|
||||||
|
|
|
@ -15,7 +15,7 @@ executable = sys.argv[1]
|
||||||
elf = ELFFile(open(executable, "rb"))
|
elf = ELFFile(open(executable, "rb"))
|
||||||
symtab = elf.get_section_by_name('.symtab')
|
symtab = elf.get_section_by_name('.symtab')
|
||||||
|
|
||||||
krisp_initialize_address = symtab.get_symbol_by_name("_ZN7discord15KrispInitializeEv")[0].entry.st_value
|
krisp_initialize_address = symtab.get_symbol_by_name("_ZN7discordL17DoKrispInitializeEv")[0].entry.st_value
|
||||||
isSignedByDiscord_address = symtab.get_symbol_by_name("_ZN7discord4util17IsSignedByDiscordERKNSt4__Cr12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE")[0].entry.st_value
|
isSignedByDiscord_address = symtab.get_symbol_by_name("_ZN7discord4util17IsSignedByDiscordERKNSt4__Cr12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE")[0].entry.st_value
|
||||||
|
|
||||||
text = elf.get_section_by_name('.text')
|
text = elf.get_section_by_name('.text')
|
||||||
|
|
Loading…
Reference in a new issue