mirror of
https://github.com/egor-white/zaprett.git
synced 2025-12-10 13:30:23 +05:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63c45d8a2a | ||
|
|
26325b79f1 | ||
|
|
2cee0712c3 | ||
|
|
79b63ec5e9 | ||
|
|
c230f4876c |
2
.github/workflows/workflow.yml
vendored
2
.github/workflows/workflow.yml
vendored
@@ -178,7 +178,7 @@ jobs:
|
|||||||
|
|
||||||
⬇️ <a href='https://github.com/egor-white/zaprett/releases/tag/${{ inputs.tag }}'>Скачать</a>
|
⬇️ <a href='https://github.com/egor-white/zaprett/releases/tag/${{ inputs.tag }}'>Скачать</a>
|
||||||
|
|
||||||
ℹ️ @zaprett_module
|
ℹ️ @zaprett_module<a href='zaprett.xyz'>[web]</a>
|
||||||
run: |
|
run: |
|
||||||
curl -X POST "https://api.telegram.org/bot${{ secrets.BOT_TOKEN }}/sendMessage" \
|
curl -X POST "https://api.telegram.org/bot${{ secrets.BOT_TOKEN }}/sendMessage" \
|
||||||
-d chat_id=-1002531270265 \
|
-d chat_id=-1002531270265 \
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
extended-версия была заменена версией с hosts-файлом. Из остальных версий он убран.
|
Обновление бинарников
|
||||||
|
|||||||
@@ -15,10 +15,15 @@ ui_print "Unpacking archive..."
|
|||||||
unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2
|
unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2
|
||||||
|
|
||||||
ui_print "Creating zaprett directory..."
|
ui_print "Creating zaprett directory..."
|
||||||
mkdir /sdcard/zaprett; mkdir /sdcard/zaprett/lists; mkdir /sdcard/zaprett/bin; mkdir /sdcard/zaprett/strategies; touch /sdcard/zaprett/config
|
mkdir /sdcard/zaprett; mkdir /sdcard/zaprett/lists; mkdir /sdcard/zaprett/bin; mkdir /sdcard/zaprett/strategies;
|
||||||
|
|
||||||
ui_print "Filling configuration file..."
|
ui_print "Filling configuration file if not exist..."
|
||||||
echo autorestart=true > /sdcard/zaprett/config; echo activelists=/storage/emulated/0/zaprett/lists/list-youtube.txt >> /sdcard/zaprett/config; echo zaprettdir=/sdcard/zaprett >> /sdcard/zaprett/config; echo strategy="" >> /sdcard/zaprett/config
|
if [ ! -f "/sdcard/zaprett/config" ]; then
|
||||||
|
echo autorestart=true > /sdcard/zaprett/config
|
||||||
|
echo activelists=/storage/emulated/0/zaprett/lists/list-youtube.txt >> /sdcard/zaprett/config
|
||||||
|
echo zaprettdir=/sdcard/zaprett >> /sdcard/zaprett/config
|
||||||
|
echo strategy="" >> /sdcard/zaprett/config
|
||||||
|
fi
|
||||||
|
|
||||||
ui_print "Copying lists and binaries to /sdcard/zaprett..."
|
ui_print "Copying lists and binaries to /sdcard/zaprett..."
|
||||||
cp -r $MODPATH/system/etc/zaprett/. /sdcard/zaprett/
|
cp -r $MODPATH/system/etc/zaprett/. /sdcard/zaprett/
|
||||||
@@ -50,7 +55,7 @@ case "$arch" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
mv $MODPATH/system/bin/$nfqws $MODPATH/system/bin/nfqws
|
mv $MODPATH/system/bin/$nfqws $MODPATH/system/bin/nfqws
|
||||||
rm nfqws_*
|
rm $MODPATH/system/bin/nfqws_*
|
||||||
mkdir $MODPATH/tmp
|
mkdir $MODPATH/tmp
|
||||||
|
|
||||||
ui_print "Setting permissions..."
|
ui_print "Setting permissions..."
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "4.7",
|
"version": "4.8",
|
||||||
"versionCode": 4.7,
|
"versionCode": 48,
|
||||||
"zipUrl": "https://github.com/egor-white/zaprett/releases/download/4.7.0/zaprett.zip",
|
"zipUrl": "https://github.com/egor-white/zaprett/releases/download/4.8.0/zaprett.zip",
|
||||||
"changelog": "https://raw.githubusercontent.com/egor-white/zaprett/refs/heads/main/changelog.md"
|
"changelog": "https://raw.githubusercontent.com/egor-white/zaprett/refs/heads/main/changelog.md"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "4.7",
|
"version": "4.8",
|
||||||
"versionCode": 4.7,
|
"versionCode": 48,
|
||||||
"zipUrl": "https://github.com/egor-white/zaprett/releases/download/4.7.0/zaprett-hosts.zip",
|
"zipUrl": "https://github.com/egor-white/zaprett/releases/download/4.8.0/zaprett-hosts.zip",
|
||||||
"changelog": "https://raw.githubusercontent.com/egor-white/zaprett/refs/heads/main/changelog.md"
|
"changelog": "https://raw.githubusercontent.com/egor-white/zaprett/refs/heads/main/changelog.md"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "4.7",
|
"version": "4.8",
|
||||||
"versionCode": 4.7,
|
"versionCode": 48,
|
||||||
"zipUrl": "https://github.com/egor-white/zaprett/releases/download/4.7.0/zaprett-tv.zip",
|
"zipUrl": "https://github.com/egor-white/zaprett/releases/download/4.8.0/zaprett-tv.zip",
|
||||||
"changelog": "https://raw.githubusercontent.com/egor-white/zaprett/refs/heads/main/changelog.md"
|
"changelog": "https://raw.githubusercontent.com/egor-white/zaprett/refs/heads/main/changelog.md"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user