Skip to content

Commit

Permalink
添加订阅聚合
Browse files Browse the repository at this point in the history
  • Loading branch information
ftkey committed Jan 16, 2025
1 parent a63ae3e commit e0d433c
Show file tree
Hide file tree
Showing 2 changed files with 789 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/obfuscator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,29 @@ jobs:
--transform-object-keys true \
--unicode-escape-sequence true
- name: Obfuscate Sub code
run: |
javascript-obfuscator 明文源码_sub.js --output _worker_sub.js \
--compact true \
--control-flow-flattening true \
--control-flow-flattening-threshold 1 \
--dead-code-injection true \
--dead-code-injection-threshold 1 \
--identifier-names-generator hexadecimal \
--rename-globals true \
--string-array true \
--string-array-encoding 'rc4' \
--string-array-threshold 1 \
--transform-object-keys true \
--unicode-escape-sequence true
- name: Commit changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add _worker.js
git commit -m "Obfuscate _worker.js" || echo "No changes to commit"
git add _worker_sub.js
git commit -m "Obfuscate _worker.js _worker_sub.js" || echo "No changes to commit"
- name: Push changes
uses: ad-m/github-push-action@master
Expand Down
Loading

0 comments on commit e0d433c

Please sign in to comment.