mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-13 21:13:09 +00:00
* change bootmortis project to MasterKia fork کامل ترین لیست سایت های تبلیغات ایرانی، پروژه https://github.com/MasterKia/PersianBlocker است که به صورت مستمر نیز آپدیت میشود. پروژه https://github.com/bootmortis/iran-hosted-domains هم از همین لیست استفاده میکرد. مدتی پیش bootmortis تصمیم گرفت منبع سایت تبلیغات خود را عوض کند، نه به این دلیل که لیست کاملتری وجود دارد، بلکه به دلیل اینکه پروژه PersianBlocker از لایسنس GPL استفاده میکرد و پروژه bootmortis/iran-hosted-domains از لایسنس MIT استفاده میکرد و نمیتوانست بدون تغییر لایسنس از آن منبع استفاده کند. شرح کامل ماجرا: bootmortis/iran-hosted-domains#27 بعد از آن MasterKia پروژه iran-hosted-domains را با لایسنس GPL فورک کرد و لیست خود را که کامل تر بود را دوباره برگرداند. از این جهت که x-ui شما هم لایسنس GPL دارد و محدودیت استفاده از لیست کاملتر را ندارد، پیشنهاد میکنم پروژه https://github.com/MasterKia/iran-hosted-domains جایگزین https://github.com/bootmortis/iran-hosted-domains/ شود * Update DockerInitFiles.sh
22 lines
708 B
Bash
Executable File
22 lines
708 B
Bash
Executable File
#!/bin/sh
|
|
if [ $1 == "amd64" ]; then
|
|
ARCH="64";
|
|
FNAME="amd64";
|
|
elif [ $1 == "arm64" ]; then
|
|
ARCH="arm64-v8a"
|
|
FNAME="arm64";
|
|
else
|
|
ARCH="64";
|
|
FNAME="amd64";
|
|
fi
|
|
mkdir -p build/bin
|
|
cd build/bin
|
|
wget "https://github.com/XTLS/Xray-core/releases/download/v1.8.3/Xray-linux-${ARCH}.zip"
|
|
unzip "Xray-linux-${ARCH}.zip"
|
|
rm -f "Xray-linux-${ARCH}.zip" geoip.dat geosite.dat iran.dat
|
|
mv xray "xray-linux-${FNAME}"
|
|
wget "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat"
|
|
wget "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat"
|
|
wget "https://github.com/Masterkia/iran-hosted-domains/releases/latest/download/iran.dat"
|
|
cd ../../
|