mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
31 lines
552 B
Bash
Executable File
31 lines
552 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
source libs/deploy_common.sh
|
|
ENV_NEKORAY=1
|
|
source libs/get_source_env.sh
|
|
pushd ..
|
|
|
|
####
|
|
if [ ! -d "sing-box-extra" ]; then
|
|
git clone --no-checkout https://github.com/MatsuriDayo/sing-box-extra.git
|
|
fi
|
|
pushd sing-box-extra
|
|
git checkout "$COMMIT_SING_BOX_EXTRA"
|
|
|
|
ENV_SING_BOX_EXTRA=1
|
|
source $SRC_ROOT/libs/get_source_env.sh
|
|
NO_ENV=1 ./libs/get_source.sh
|
|
|
|
popd
|
|
|
|
####
|
|
if [ ! -d "Xray-core" ]; then
|
|
git clone --no-checkout https://github.com/MatsuriDayo/Xray-core.git
|
|
fi
|
|
pushd Xray-core
|
|
git checkout "$COMMIT_MATSURI_XRAY"
|
|
popd
|
|
|
|
popd
|