Skip to content

Commit

Permalink
feat: 适配 LiteLoaderQQNT
Browse files Browse the repository at this point in the history
  • Loading branch information
Mufanc committed Aug 14, 2024
1 parent 078c94f commit d86ade7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ else
fi

if [ -d "$LITELOADER" ]; then # 支持 LiteLoaderQQNT
echo "Loading LiteLoaderQQNT..."

mkdir -p "$LITELOADER"
args="$args --bind $LITELOADER $LITELOADER"

Expand All @@ -31,7 +33,7 @@ if [ -d "$LITELOADER" ]; then #
echo "require('$LITELOADER');" >> "$fake_entry"
cat "$entry" >> "$fake_entry"

args="$args --tmpfs $BASE/resources/app/application" # 挂载一个可写的 tmpfs
args="$args --bind $LITELOADER/application $BASE/resources/app/application" # 挂载一个可写的 tmpfs
args="$args --bind $fake_entry $entry" # 挂载假入口
fi

Expand Down

0 comments on commit d86ade7

Please sign in to comment.