summarylogtreecommitdiffstats
path: root/liteloader-qqnt-depatch.hook
blob: 2af776e7da2be1a5ffcf8cefed4a024e7faa3036 (plain)
1
2
3
4
5
6
7
8
9
10
[Trigger]
Operation=Remove
Type=Package
Target=liteloader-qqnt-git
Target=liteloader-qqnt-bin

[Action]
Description=Depatch QQ for LiteLoaderQQNT
When=PreTransaction
Exec=/bin/sh -c "grep -q /opt/LiteLoader /opt/QQ/resources/app/app_launcher/index.js && sed -i '1d' /opt/QQ/resources/app/app_launcher/index.js"