summarylogtreecommitdiffstats
path: root/liteloader-qqnt-bin.hook
blob: 3f84b603299343c110857cfa0e1a68a158f1d6f7 (plain)
1
2
3
4
5
6
7
8
9
# in /usr/share/libalpm/hooks/
[Trigger]
Operation = Remove
Type = Package
Target = *
[Action]
Description = "Remove LiteLoaderQQNT from LinuxQQNT."
When = PreTransaction
Exec = rm -rf /opt/QQ/resources/app/LiteLoader; sed -i 's/"main": "LiteLoader"/"main": ".\/app_launcher\/index.js"/g' /opt/QQ/resources/app/package.json