Skip to content

Commit

Permalink
Inject LiteLoaderQQNT
Browse files Browse the repository at this point in the history
  • Loading branch information
arenekosreal committed Apr 29, 2024
1 parent 1063e2e commit 30971d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions com.qq.QQ.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ modules:
commands:
- export ZYPAK_LD_PRELOAD="/app/etc/preload/rename.so"
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
- export LITELOADERQQNT_PROFILE="$XDG_CONFIG_HOME/LiteLoaderQQNT"
- exec zypak-wrapper /app/extra/QQ/qq "$@"
dest-filename: qq.sh

Expand All @@ -111,6 +112,8 @@ modules:
- bsdtar --to-stdout -xf qq.deb data.* | bsdtar -xf -
- mv opt/QQ .
- rm -rf qq.deb usr opt data.*
- sed -i '1 i require("/app/lib/LiteLoaderQQNT");' QQ/resources/app/app_launcher/index.js
- ln -s /app/lib/LiteLoaderQQNT/src/preload.js QQ/resources/app/application/preload.js
dest-filename: apply_extra

- type: file
Expand Down

0 comments on commit 30971d7

Please sign in to comment.