mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
upgrade to typescript@5.6 and cordis@3.18
This commit is contained in:
22 files changed
+52
-46
No files matched your search
+3
-2
@@ -8,7 +8,7 @@ if [ $EUID != 0 ]; then
|
||||
exit $?
|
||||
fi
|
||||
set -e
|
||||
echo "Executing Hydro install script v3.0.0"
|
||||
echo "Executing Hydro install script v3.0.1"
|
||||
echo "Hydro includes system telemetry,
|
||||
which helps developers figure out the most commonly used operating system and platform.
|
||||
To disable this feature, checkout our sourcecode."
|
||||
@@ -22,6 +22,7 @@ echo "// File created by Hydro install script\n" >/tmp/install.js
|
||||
cat >/tmp/install.b64 << EOF123
|
||||
%PLACEHOLDER%
|
||||
EOF123
|
||||
cat /tmp/install.b64 | base64 -d >>/tmp/install.js
|
||||
cat /tmp/install.b64 | base64 -d >>/tmp/install.js
|
||||
rm /tmp/install.b64
|
||||
node /tmp/install.js "$@"
|
||||
set +e
|
||||
+4
-1
@@ -483,7 +483,10 @@ ${nixConfBase}`);
|
||||
`pm2 start mongod --name mongodb -e /dev/null -- --auth --bind_ip 0.0.0.0 --wiredTigerCacheSizeGB=${wtsize}`,
|
||||
() => sleep(1000),
|
||||
async () => {
|
||||
if (noCaddy) return;
|
||||
if (noCaddy) {
|
||||
exec('hydrooj cli system set server.host 0.0.0.0');
|
||||
return;
|
||||
}
|
||||
if (!await isPortFree(80)) log.warn('port.80');
|
||||
if (migration === 'hustoj') {
|
||||
exec('systemctl stop nginx || true');
|
||||
|
||||
Reference in new issue
Block a user