Skip to content

Commit

Permalink
Update run.yml
Browse files Browse the repository at this point in the history
Add           | sed -i 's/e!==\x22off\x22/e == \x22off\x22/' > rewrite.youtube.response.preview.js
  • Loading branch information
misha-tgshv authored Feb 16, 2025
1 parent 244dd7e commit 77a1ad6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ jobs:
steps:
- name: Создаем файл rewrite.youtube.response.preview.js
run: |
curl -sSL https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.response.preview.js > rewrite.youtube.response.preview.js
curl -sSL https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.response.preview.js \
| sed -i 's/e!==\x22off\x22/e == \x22off\x22/' > rewrite.youtube.response.preview.js
- name: Перемещаем файлы в директорю scripts
run: |
Expand All @@ -89,7 +90,7 @@ jobs:
run: |
curl -sSL https://raw.githubusercontent.com/YanbingJiang/Shadowrocket_diy_rules/9b86dfbca387fa69e8d4b02d3f8ba01250eaad16/Modules/YT-Premium-V1.module \
| sed -E 's/captionLang:zh-Hans/captionLang:off/g; s/lyricLang:zh-Hans/lyricLang:ru-ru/g' > YT-Premium-V1-RU.module
| sed -i 's/https:\/\/raw\.githubusercontent\.com\/Maasea\/sgmodule\/master\/Script\/Youtube\/dist\/youtube\.response\.preview\.js/https:\/\/raw\.githubusercontent\.com\/misha-tgshv\/shadowrocket-configuration-file\/refs\/heads\/release\/scripts\/rewrite\.youtube\.response\.preview\.js/g' > YT-Premium-V1-RU.module
sed -i 's/https:\/\/raw\.githubusercontent\.com\/Maasea\/sgmodule\/master\/Script\/Youtube\/dist\/youtube\.response\.preview\.js/https:\/\/raw\.githubusercontent\.com\/misha-tgshv\/shadowrocket-configuration-file\/refs\/heads\/release\/scripts\/rewrite\.youtube\.response\.preview\.js/g' YT-Premium-V1-RU.module
- name: Перемещаем файлы в директорю modules
run: |
Expand Down

0 comments on commit 77a1ad6

Please sign in to comment.