From 03647247662a9af438953ef97957b955e8d813f2 Mon Sep 17 00:00:00 2001 From: arenekosreal <17194552+arenekosreal@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:24:55 +0800 Subject: [PATCH] Bump LiteLoaderQQNT to 1.2.3 Also use random entrypoint name --- com.qq.QQ.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/com.qq.QQ.yaml b/com.qq.QQ.yaml index 70e7155..030dc50 100644 --- a/com.qq.QQ.yaml +++ b/com.qq.QQ.yaml @@ -164,8 +164,8 @@ modules: sources: - type: git url: https://github.com/LiteLoaderQQNT/LiteLoaderQQNT.git - commit: 3e8bcb3aa3af4532c52eb5a77626d8573980e7b1 - tag: 1.2.2 + commit: 745e89ccd4469510c3b96fcfb21dd8026629eec8 + tag: 1.2.3 x-checker-data: type: git tag-pattern: "^([\\d.]+)$" @@ -174,6 +174,7 @@ modules: - type: script commands: - echo Applying modifications to QQ... - - echo 'require("/app/lib/LiteLoaderQQNT");' > QQ/resources/app/app_launcher/loader.js - - sed -i 's|./application/app_launcher/index.js|./app_launcher/loader.js|' QQ/resources/app/package.json + - entrypoint=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c10) + - echo 'require("/app/lib/LiteLoaderQQNT");' > QQ/resources/app/app_launcher/$entrypoint.js + - sed -i "s|./application.asar/app_launcher/index.js|./app_launcher/$entrypoint.js|" QQ/resources/app/package.json dest-filename: patch_qq