Package Details: vencord-hook 1-21

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: 14
Popularity: 1.57
First Submitted: 2024-11-28 07:36 (UTC)
Last Updated: 2026-07-08 18:33 (UTC)

Pinned Comments

withering commented on 2025-08-27 04:09 (UTC) (edited on 2026-06-29 07:43 (UTC) by withering)

if you are having an issue or getting an error you can
  • email me: check pkgbuild for email
  • dm me on discord: witheringaway

i should respond quickly

tested helpers
  • helper name, last tested version - note
  • works:
  • pacman, officially supported
  • yay, officially supported - main aur helper i use
  • pikaur, 1-20
  • paru, 1-16 - hook does not work with sudo paru, just dont use sudo when using paru
  • 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

Latest Comments

1 2 3 Next › Last »

thank783 commented on 2026-07-09 01:26 (UTC)

Tested on CachyOS and is working fine, thank you for the fix :)

withering commented on 2026-07-08 18:34 (UTC)

appears to be a cachy specific thing where it isolates the network for hooks with a cachy-specific action to disable it, so in 1-21 i added a vencord-hook-cachyos.hook that should automatically install rather than the default vencord-hook.hook if youre on cachy, try that out

thank783 commented on 2026-07-08 17:26 (UTC)

I made some previous comments thinking my install location issue was related to the one that @voidlesity mentions but I misunderstood the situation and deleted them after I sorted it out.

To fix the network issue network is unreachable just add NetworkAccess=allowed to the hook in the [Action] section like this:

[Trigger]
Operation=Install
Operation=Upgrade
Type=Package
Target=discord
Target=discord-ptb
Target=discord-canary

[Action]
When=PostTransaction
NetworkAccess=allowed
Exec=/etc/pacman.d/hooks.bin/vencord-hook.sh
NeedsTargets

This is related to: https://github.com/CachyOS/pacman/commit/4056cd687f6379e61e7decb9b66e9b57cb3949a9 libalpm: isolate scriptlets and hooks from the network

After manually modifying the file /etc/pacman.d/hooks/vencord-hook.hook allowing network access everything started working fine again.

Maybe @withering can upgrade the hook to allow network access :)

withering commented on 2026-06-29 07:42 (UTC)

@voidlesity appears to be working for me on 1-20 with extra/discord and yay. does vencordinstaller cli work for you? and can you visit the url on a browser? also what helper are you using?

voidlesity commented on 2026-06-29 07:37 (UTC)

Constantly getting this error:

(5/6) vencord-hook.hook
HOOK  Installing Vencord for branch...
WARN  Tried to parse invalid Location: /usr/share/discord
ERROR Failed to send Request Get "https://api.github.com/repos/Vendicated/Vencord/releases/latest": dial tcp 140.82.121.6:443: connect: network is unreachable
ERROR Failed to send Request Get "https://api.github.com/repos/Vencord/Installer/releases/latest": dial tcp 140.82.121.6:443: connect: network is unreachable
WARN  Failed to check for self updates: Get "https://api.github.com/repos/Vencord/Installer/releases/latest": dial tcp 140.82.121.6:443: connect: network is unreachable
ERROR Not installing as fetching release data failed
❌ Failed!
HOOK  An error occurred. If unresolvable, contact the package maintainer: https://aur.archlinux.org/packages/vencord-hook
error: command failed to execute correctly

I tried changing networks, turning on and off vpns, nothing works, have to patch manually...

nghiphaam commented on 2026-05-22 01:49 (UTC)

discord not auto update after update discord pkg in pacman now

Tixx7 commented on 2026-05-21 23:55 (UTC)

Autoupdater didnt so far, tho i didnt really pay attention how often it did update so far that way. However i did get a package update for discord recently and had to manually patch vencord again.

withering commented on 2026-05-21 23:25 (UTC)

oh interesting, does the auto updater mess up the install for you?