File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,7 +130,8 @@ function update_script() {
130130
131131 msg_info " Building Luna"
132132 cd /opt/luna-src
133- export ELECTRON_SKIP_BINARY_DOWNLOAD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0
133+ # NUXT_TELEMETRY_DISABLED stops nuxt generate from waiting on a consent prompt
134+ export ELECTRON_SKIP_BINARY_DOWNLOAD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 NUXT_TELEMETRY_DISABLED=1
134135 $STD pnpm --filter jumpserver-web... install --frozen-lockfile --config.node-linker=isolated
135136 $STD pnpm --config.node-linker=isolated --filter jumpserver-web web:generate
136137 rm -rf /opt/luna
Original file line number Diff line number Diff line change @@ -219,7 +219,8 @@ fetch_and_deploy_gh_tag "luna" "jumpserver/luna" "$JMS_TAG" "/opt/luna-src"
219219
220220msg_info " Building Luna"
221221cd /opt/luna-src
222- export ELECTRON_SKIP_BINARY_DOWNLOAD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0
222+ # NUXT_TELEMETRY_DISABLED stops nuxt generate from waiting on a consent prompt
223+ export ELECTRON_SKIP_BINARY_DOWNLOAD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 NUXT_TELEMETRY_DISABLED=1
223224$STD pnpm --filter jumpserver-web... install --frozen-lockfile --config.node-linker=isolated
224225$STD pnpm --config.node-linker=isolated --filter jumpserver-web web:generate
225226rm -rf /opt/luna
You can’t perform that action at this time.
0 commit comments