diff options
author | kobe koto | 2024-01-25 16:37:14 +0800 |
---|---|---|
committer | kobe koto | 2024-01-25 16:37:14 +0800 |
commit | 5a73374d47829c97197ce94d61da7057f312b296 (patch) | |
tree | ab154659a3a2a3c8c3a156b5ea9315cdf4131383 /liteloader-qqnt-depatch.hook | |
parent | 480bfe6cd6a5846a154552cb845d21af742f5983 (diff) | |
download | aur-5a73374d47829c97197ce94d61da7057f312b296.tar.gz |
update version to 1.0.2
Diffstat (limited to 'liteloader-qqnt-depatch.hook')
-rw-r--r-- | liteloader-qqnt-depatch.hook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liteloader-qqnt-depatch.hook b/liteloader-qqnt-depatch.hook index 02dcb511dab9..f3f0d4d5c567 100644 --- a/liteloader-qqnt-depatch.hook +++ b/liteloader-qqnt-depatch.hook @@ -7,4 +7,4 @@ Target=liteloader-qqnt-bin [Action] Description=Depatch QQ for LiteLoaderQQNT When=PreTransaction -Exec=/bin/sh -c 'TargetLine=$(awk "/main/{print NR}" /opt/QQ/resources/app/package.json); sed -i "${TargetLine}s/LiteLoader/.\/app_launcher\/index.js/g" /opt/QQ/resources/app/package.json; echo "Uninstall LLQQNT done."' +Exec=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" |