From f926e3f7fa4ac8e269dbea2b45984838811de5bc Mon Sep 17 00:00:00 2001 From: 0x5c Date: Sat, 13 Jan 2024 04:10:19 -0500 Subject: [PATCH] discord-ptb: update to 0.0.64. --- srcpkgs/discord-ptb/INSTALL.msg | 12 ++++++++++++ srcpkgs/discord-ptb/template | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/discord-ptb/INSTALL.msg diff --git a/srcpkgs/discord-ptb/INSTALL.msg b/srcpkgs/discord-ptb/INSTALL.msg new file mode 100644 index 00000000000000..df594f5cc7205a --- /dev/null +++ b/srcpkgs/discord-ptb/INSTALL.msg @@ -0,0 +1,12 @@ +This template may not always be freshly up-to-date. To avoid being locked out +of Discord by a forced update check, you can modify the client's config file to +enable skipping "host" updates. +Normal UI updates will continue to function normally. + +This can safely be done with this one liner, after running Discord PTB once: +(requires jq and moreutils) + +_DPTB_CONFIG=~/.config/discordptb/settings.json; + touch $_DPTB_CONFIG && \ + jq -n 'input? // {} | .SKIP_HOST_UPDATE = true' $_DPTB_CONFIG | \ + sponge $_DPTB_CONFIG diff --git a/srcpkgs/discord-ptb/template b/srcpkgs/discord-ptb/template index 87be969496c6c1..313aada994d75b 100644 --- a/srcpkgs/discord-ptb/template +++ b/srcpkgs/discord-ptb/template @@ -1,6 +1,6 @@ # Template file for 'discord-ptb' pkgname=discord-ptb -version=0.0.62 +version=0.0.64 revision=1 archs="x86_64" depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic @@ -10,7 +10,7 @@ maintainer="0x5c " license="custom:Proprietary" homepage="https://discord.com/" distfiles="https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz" -checksum=140199aaf0f54b7cec28e9ab1c03fa494b2d46ed4c324663d0ebdd8023000155 +checksum=96803f45d4fa63973a5298aeb3ebceff7f3716bbadb091184bfd6e891d207eaa nopie=yes restricted=yes repository=nonfree