Update corepack configuration in install script

Disable download prompt for corepack and enable it.
This commit is contained in:
Tobias 2025-11-10 22:50:07 +01:00 committed by GitHub
parent 6f431969f3
commit eb9732a4ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,8 @@ fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker"
msg_info "Building Domain-Locker" msg_info "Building Domain-Locker"
cd /opt/domain-locker cd /opt/domain-locker
$STD corepack enable --force export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
corepack enable
$STD yarn install --immutable $STD yarn install --immutable
export NODE_OPTIONS="--max-old-space-size=2048" export NODE_OPTIONS="--max-old-space-size=2048"
cat <<EOF >/opt/domain-locker.env cat <<EOF >/opt/domain-locker.env