From 3dbfbdde3057838fcc545b9d6b8e99da498a564f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roni=20V=C3=A4yrynen?= Date: Wed, 2 Apr 2025 09:53:30 +0300 Subject: [PATCH] feat: disable building XO 6 by default and add config option to sample config file --- sample.xo-install.cfg | 5 +++++ xo-install.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sample.xo-install.cfg b/sample.xo-install.cfg index 627b865..a9f16c8 100644 --- a/sample.xo-install.cfg +++ b/sample.xo-install.cfg @@ -138,3 +138,8 @@ PRESERVE="3" # Configurable network-timeout setting for yarn, in ms. # default: 300000 = 300sec #YARN_NETWORK_TIMEOUT="300000" + +# Enable/Disable XO 6 UI build, accessible at /v6 +# This is actively developed and enabling it might break install/update +# default: false +#INCLUDE_V6="false" diff --git a/xo-install.sh b/xo-install.sh index b35568d..498f3ab 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -27,7 +27,7 @@ LISTEN_ADDRESS=${LISTEN_ADDRESS:-""} PROXY_PORT=${PROXY_PORT:-443} INSTALLDIR=${INSTALLDIR:-"/opt/xo"} BRANCH=${BRANCH:-"master"} -INCLUDE_V6=${INCLUDE_V6:-"true"} +INCLUDE_V6=${INCLUDE_V6:-"false"} LOGPATH=${LOGPATH:-$(dirname "$(realpath "$0")")/logs} AUTOUPDATE=${AUTOUPDATE:-"true"} PRESERVE=${PRESERVE:-"3"}