summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-07-05 18:08:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-07-05 18:08:53 +0800
commitd560581cadeeef7f5943cc5c418515c7972d94df (patch)
tree1340c3a0a94c9ed8fbb7b369406647ca538e6653 /usr
parent5795f16ed34e18f6d0449d01720c7ad52fd0af6c (diff)
added discord patch via vencord pacman hook to automaticly patch when upate
Diffstat (limited to 'usr')
-rw-r--r--usr/share/libalpm/hooks/discord-patch.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/share/libalpm/hooks/discord-patch.hook b/usr/share/libalpm/hooks/discord-patch.hook
new file mode 100644
index 00000000..7f99e685
--- /dev/null
+++ b/usr/share/libalpm/hooks/discord-patch.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Package
+Operation = Install
+Operation = Upgrade
+Target = discord
+Target = vencord-installer-cli-bin
+
+[Action]
+Description = Patching discord via vencord...
+When = PostTransaction
+Exec = /usr/bin/vencordinstallercli -install -branch auto
+NeedsTargets