mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-08-05 07:35:53 +03:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d75903b44c | ||
|
|
36f4452342 | ||
|
|
cb6c83d13b | ||
|
|
d3aabff5d8 | ||
|
|
0f2b8dd6eb | ||
|
|
d7eedce22a | ||
|
|
7174c5bcb3 | ||
|
|
02f6e89f81 | ||
|
|
b62f558c7b | ||
|
|
100a0c9a41 |
2
.github/github-bot.yml
vendored
2
.github/github-bot.yml
vendored
@@ -1,6 +1,6 @@
|
||||
trusted_users:
|
||||
- Flowseal
|
||||
- Kail-225
|
||||
- ControlRe
|
||||
- ekungurov
|
||||
- V3nilla
|
||||
- serpen7
|
||||
|
||||
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
@@ -26,18 +26,45 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Install tools
|
||||
run: sudo apt-get install -y rar p7zip-full
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y zip tar rar
|
||||
|
||||
- name: Prepare release bundle
|
||||
run: |
|
||||
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
|
||||
|
||||
mkdir "$NAME"
|
||||
|
||||
cp -r bin "$NAME/"
|
||||
cp -r lists "$NAME/"
|
||||
cp -r utils "$NAME/"
|
||||
cp *.bat "$NAME/"
|
||||
|
||||
cp README.md "$NAME/"
|
||||
cp LICENSE.txt "$NAME/"
|
||||
|
||||
(
|
||||
cd "$NAME"
|
||||
find . -type f -exec sha256sum {} \;
|
||||
) > "$NAME/SHA256SUMS.txt"
|
||||
|
||||
- name: Create archives
|
||||
run: |
|
||||
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
|
||||
7z a "${NAME}.zip" bin/ lists/ utils/ *.bat
|
||||
rar a "${NAME}.rar" bin/ lists/ utils/ *.bat
|
||||
|
||||
zip -qr "${NAME}.zip" "$NAME"
|
||||
rar a -idq "${NAME}.rar" "$NAME"
|
||||
tar --owner=0 --group=0 -czf "${NAME}.tar.gz" "$NAME"
|
||||
|
||||
- name: Print SHA256 checksums
|
||||
run: |
|
||||
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
|
||||
sha256sum "${NAME}.zip" "${NAME}.rar"
|
||||
|
||||
sha256sum \
|
||||
"${NAME}.zip" \
|
||||
"${NAME}.rar" \
|
||||
"${NAME}.tar.gz"
|
||||
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
@@ -47,3 +74,4 @@ jobs:
|
||||
files: |
|
||||
zapret-discord-youtube-${{ github.event.inputs.tag }}.zip
|
||||
zapret-discord-youtube-${{ github.event.inputs.tag }}.rar
|
||||
zapret-discord-youtube-${{ github.event.inputs.tag }}.tar.gz
|
||||
@@ -1,3 +1,10 @@
|
||||
185.199.109.133 objects.githubusercontent.com
|
||||
185.199.109.133 raw.githubusercontent.com
|
||||
185.199.109.133 release-assets.githubusercontent.com
|
||||
185.199.108.133 private-user-images.githubusercontent.com
|
||||
185.199.108.133 gist.githubusercontent.com
|
||||
185.199.108.133 avatars.githubusercontent.com
|
||||
|
||||
149.154.167.220 my.telegram.org
|
||||
149.154.167.220 oauth.telegram.org
|
||||
149.154.167.220 cdn.telesco.pe
|
||||
@@ -30,12 +37,6 @@
|
||||
149.154.167.220 zws2.web.telegram.org
|
||||
149.154.167.220 zws4-1.web.telegram.org
|
||||
|
||||
185.199.109.133 raw.githubusercontent.com
|
||||
185.199.109.133 release-assets.githubusercontent.com
|
||||
185.199.108.133 private-user-images.githubusercontent.com
|
||||
185.199.108.133 gist.githubusercontent.com
|
||||
185.199.108.133 avatars.githubusercontent.com
|
||||
|
||||
104.25.158.178 finland10000.discord.media
|
||||
104.25.158.178 finland10001.discord.media
|
||||
104.25.158.178 finland10002.discord.media
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.9.9b
|
||||
1.9.9d
|
||||
Binary file not shown.
@@ -1,6 +1,4 @@
|
||||
pusher.com
|
||||
live-video.net
|
||||
ttvnw.net
|
||||
twitch.tv
|
||||
mail.ru
|
||||
citilink.ru
|
||||
|
||||
@@ -47,3 +47,4 @@ betterttv.net
|
||||
7tv.io
|
||||
localizeapi.com
|
||||
klipy.com
|
||||
live-video.net
|
||||
|
||||
18
service.bat
18
service.bat
@@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
set "LOCAL_VERSION=1.9.9b"
|
||||
set "LOCAL_VERSION=1.9.9d"
|
||||
|
||||
:: External commands
|
||||
if "%~1"=="status_zapret" (
|
||||
@@ -52,8 +52,8 @@ if "%1"=="admin" (
|
||||
|
||||
|
||||
:: MENU ================================
|
||||
title ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
|
||||
setlocal EnableDelayedExpansion
|
||||
title ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
|
||||
:menu
|
||||
|
||||
cls
|
||||
@@ -238,16 +238,22 @@ echo Pick one of the options:
|
||||
set "count=0"
|
||||
for /f "delims=" %%F in ('powershell -NoProfile -Command "Get-ChildItem -LiteralPath '.' -Filter '*.bat' | Where-Object { $_.Name -notlike 'service*' } | Sort-Object { [Regex]::Replace($_.Name, '(\d+)', { $args[0].Value.PadLeft(8, '0') }) } | ForEach-Object { $_.Name }"') do (
|
||||
set /a count+=1
|
||||
echo !count!. %%F
|
||||
echo !count!. %%F
|
||||
set "file!count!=%%F"
|
||||
)
|
||||
|
||||
echo 0. Exit
|
||||
|
||||
echo.
|
||||
|
||||
:: Choosing file
|
||||
set "choice="
|
||||
set /p "choice=Input file index (number): "
|
||||
set /p "choice=Input option (0-!count!, default: 0): "
|
||||
if "!choice!"=="" (
|
||||
echo The choice is empty, exiting...
|
||||
pause
|
||||
set "choice=0"
|
||||
)
|
||||
|
||||
if "!choice!"=="0" (
|
||||
goto menu
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user