Tested on CachyOS and is working fine, thank you for the fix :)
Search Criteria
Package Details: vencord-hook 1-21
Package Actions
| 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) |
Dependencies (4)
- awk (gawk-gitAUR, gawk)
- bash (bash-gitAUR, bash-devel-gitAUR)
- procps-ng (procps-ng-nosystemd-gitAUR, procps-ng-gitAUR)
- vencord-installerAUR (vencord-installer-gitAUR, vencord-installer-binAUR)
Required by (0)
Sources (5)
thank783 commented on 2026-07-09 01:26 (UTC)
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?
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
i should respond quickly
tested helpers
sudo paru, just dont usesudowhen usingparu