diff --git a/install/centos-7.sh b/install/centos-7.sh index 0b241273d..7a69d2648 100644 --- a/install/centos-7.sh +++ b/install/centos-7.sh @@ -70,7 +70,7 @@ pm2 start "./minio server /data/file" --name minio # TODO: install basic addons? echo "Installing Hydro" yarn global add hydrooj @hydrooj/ui-default @hydrooj/hydrojudge -wget https://github.com/criyle/go-judge/releases/download/v1.0.5/executorserver-amd64 -O /usr/bin/sandbox_ +wget https://s3.undefined.moe/file/executor-amd64 -O /usr/bin/sandbox_ chmod +x /usr/bin/sandbox_ pm2 start "/usr/bin/sandbox_" mkdir ~/.hydro diff --git a/install/install.ts b/install/install.ts index 882691df3..d427999df 100644 --- a/install/install.ts +++ b/install/install.ts @@ -79,7 +79,7 @@ logAndRun('apt-get install -y g++ >/dev/null'); log.info('正在安装 HydroOJ / Installing HydroOJ'); logAndRunWithNvm('yarn global add hydrooj @hydrooj/ui-default @hydrooj/hydrojudge'); -http.download('https://github.com/criyle/go-judge/releases/download/v1.0.5/executorserver-amd64', '/usr/bin/sandbox'); +http.download('https://s3.undefined.moe/file/executor-amd64', '/usr/bin/sandbox'); exec('chmod +x /usr/bin/sandbox'); logAndRunWithNvm('pm2 start sandbox'); fs.writefile('/root/.hydro/config.json', JSON.stringify({ diff --git a/install/ubuntu-1604.sh b/install/ubuntu-1604.sh index 21e068484..ba97fe414 100644 --- a/install/ubuntu-1604.sh +++ b/install/ubuntu-1604.sh @@ -61,7 +61,7 @@ apt-get install -y g++ >/dev/null # TODO: install basic addons? echo "Installing Hydro" yarn global add hydrooj @hydrooj/ui-default @hydrooj/hydrojudge -wget https://github.com/criyle/go-judge/releases/download/v1.0.5/executorserver-amd64 -O /usr/bin/sandbox +wget https://s3.undefined.moe/file/executor-amd64 -O /usr/bin/sandbox chmod +x /usr/bin/sandbox pm2 start sandbox mkdir ~/.hydro diff --git a/install/ubuntu-1804.sh b/install/ubuntu-1804.sh index 23c12f2c7..1dc8844cf 100644 --- a/install/ubuntu-1804.sh +++ b/install/ubuntu-1804.sh @@ -61,7 +61,7 @@ apt-get install -y g++ >/dev/null # TODO: install basic addons? echo "Installing Hydro" yarn global add hydrooj @hydrooj/ui-default @hydrooj/hydrojudge -wget https://github.com/criyle/go-judge/releases/download/v1.0.5/executorserver-amd64 -O /usr/bin/sandbox +wget https://s3.undefined.moe/file/executor-amd64 -O /usr/bin/sandbox chmod +x /usr/bin/sandbox pm2 start sandbox mkdir ~/.hydro diff --git a/install/ubuntu-2004.sh b/install/ubuntu-2004.sh index 4dfd66b0a..ea65ba33a 100644 --- a/install/ubuntu-2004.sh +++ b/install/ubuntu-2004.sh @@ -61,7 +61,7 @@ apt-get install -y g++ >/dev/null # TODO: install basic addons? echo "Installing Hydro" yarn global add hydrooj @hydrooj/ui-default @hydrooj/hydrojudge -wget https://github.com/criyle/go-judge/releases/download/v1.0.5/executorserver-amd64 -O /usr/bin/sandbox +wget https://s3.undefined.moe/file/executor-amd64 -O /usr/bin/sandbox chmod +x /usr/bin/sandbox pm2 start sandbox mkdir ~/.hydro