Package Details: vencord-hook 1-17

Git Clone URL: https://aur.archlinux.org/vencord-hook.git (read-only, click to copy)
Package Base: vencord-hook
Description: Pacman hook to automatically install Vencord after Discord updates
Upstream URL: https://github.com/Vencord/Installer.git
Keywords: discord hook vencord
Licenses: GPL3, MIT
Submitter: withering
Maintainer: withering
Last Packager: withering
Votes: 8
Popularity: 0.84
First Submitted: 2024-11-28 07:36 (UTC)
Last Updated: 2025-10-01 20:18 (UTC)

Pinned Comments

withering commented on 2025-08-27 04:09 (UTC) (edited on 2025-10-01 20:22 (UTC) by withering)

if you are having an issue or getting an error you can
  • email me: jimphilip394 at gmail dot com
  • dm me on discord: witheringaway

i should respond quickly

tested helpers
  • helper name, last tested version - note
  • works:
  • pacman, officially supported
  • pikaur, officially supported - main aur helper i use
  • yay, 1-17 - hook is often double checked with
  • bauh, 1-16
  • octopi, 1-16
  • slight jank:
  • pamac, 1-16 - has horrible architecture, script must go on a scavenger hunt to find who initiated the transaction
  • paru, 1-16 - hook does not work with sudo paru, just dont use sudo when using paru

Latest Comments

withering commented on 2025-08-27 04:09 (UTC) (edited on 2025-10-01 20:22 (UTC) by withering)

if you are having an issue or getting an error you can
  • email me: jimphilip394 at gmail dot com
  • dm me on discord: witheringaway

i should respond quickly

tested helpers
  • helper name, last tested version - note
  • works:
  • pacman, officially supported
  • pikaur, officially supported - main aur helper i use
  • yay, 1-17 - hook is often double checked with
  • bauh, 1-16
  • octopi, 1-16
  • slight jank:
  • pamac, 1-16 - has horrible architecture, script must go on a scavenger hunt to find who initiated the transaction
  • paru, 1-16 - hook does not work with sudo paru, just dont use sudo when using paru

withering commented on 2025-08-27 00:02 (UTC) (edited on 2025-08-27 00:03 (UTC) by withering)

hmm thats weird give me a second to look into it, do you have a way i can communicate with you directly?

TipsyTheCat commented on 2025-08-27 00:00 (UTC)

:c

HOOK  Installing Vencord for stable branch...
panic: VencordInstaller was run as root but neither SUDO_USER nor DOAS_USER are set. Please rerun me as a normal user, with sudo/doas, or manually set SUDO_USER to your username

goroutine 1 [running]:
main.init.0()
    /go/banana/Installer/find_discord_linux.go:50 +0x556
HOOK  An error occurred. If unresolvable, contact the package maintainer: https://aur.archlinux.org/packages/vencord-hook
Error: command failed to execute correctly

TipsyTheCat commented on 2025-08-20 02:21 (UTC)

omg thank you so much! i've been STRUGGLING to get the vencord installer to run within a hook without throwing files in not so useful places ;w; this is defo a weight off my shoulders

withering commented on 2025-06-27 01:19 (UTC)

Thanks d3adb5, just pushed.

d3adb5 commented on 2025-06-26 23:38 (UTC)

The script uses a bashism (trapping ERR), so using /bin/sh fails when using a strictly POSIX compliant shell such as dash. This is easily fixed by switching the shebang to #!/bin/bash, which should be fine as bash is a dependency of this package. Below is a diff to fix it:

diff --git a/PKGBUILD b/PKGBUILD
index 249f482..31b0b03 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ source=("vencord-hook.hook"
        "LICENSE-VENCORD"
        "LICENSE-VENCORD-HOOK")
 sha256sums=('3b43547e2b3956403b64d16730907552564d442987a10c0d0e12b359e1484b0d'
-           'cf316c7df3679829c3f63d3c89692af1d07e4a04d616aea7931725e0411c8671'
+           'b81de32212e58c6245743a24d2b3e28d6b10e3f11a01030b8ec752a0a204f828'
            'SKIP'
            'SKIP')
 install="vencord-hook.install"
diff --git a/vencord-hook.sh b/vencord-hook.sh
index e054a3c..92a105a 100755
--- a/vencord-hook.sh
+++ b/vencord-hook.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Copyright (c) 2024-2025 Jim Philip, with Reserved Package Name "vencord-hook"
 # Copyright (c) 2022-2025 Vendicated and Vencord contributors, with Reserved Project Name "Vencord"

sparksistaken commented on 2025-04-20 21:33 (UTC)

Works well on gnome 48

withering commented on 2025-03-25 01:07 (UTC)

Burnout, just pushed an update to echo the branch and fallback to auto branch if first command fails, see if that works for you.

Burnout commented on 2025-03-24 21:56 (UTC) (edited on 2025-03-24 22:06 (UTC) by Burnout)

Hello where, i install the official app from extra repo but the hook returns this below message after firing them self

ERROR The 'branch' flag must be one of the following: [auto|stable|ptb|canary]
❌ Failed!

What can i do to fix this issue?