blob: 267ee6849eae7f12be7f82248fd8e98573239f80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
[Trigger]
Type=Package
Operation=Install
Operation=Upgrade
Target=liteloader-qqnt-git
Target=liteloader-qqnt-bin
[Action]
Description=Patch QQ for LiteLoaderQQNT
When=PostTransaction
Exec=/bin/sh -c 'grep -q /opt/LiteLoader /opt/QQ/resources/app/app_launcher/index.js || sed -i "1 i require(\"/opt/LiteLoader\");" /opt/QQ/resources/app/app_launcher/index.js'
|