diff --git a/ct/rwmarkable.sh b/ct/rwmarkable.sh index c7579db9..a7d2664e 100644 --- a/ct/rwmarkable.sh +++ b/ct/rwmarkable.sh @@ -46,10 +46,9 @@ function update_script() { fetch_and_deploy_gh_release "rwMarkable" "fccview/rwMarkable" "tarball" "latest" "/opt/rwmarkable" msg_info "Updating app" - export NEXT_TELEMETRY_DISABLE=1 - export NODE_ENV=production cd /opt/rwmarkable $STD yarn --frozen-lockfile + $STD yarn next telemetry disable $STD yarn build msg_ok "Updated app" diff --git a/install/rwmarkable-install.sh b/install/rwmarkable-install.sh index b52b0163..9dfedc43 100644 --- a/install/rwmarkable-install.sh +++ b/install/rwmarkable-install.sh @@ -18,9 +18,8 @@ fetch_and_deploy_gh_release "rwMarkable" "fccview/rwMarkable" "tarball" "latest" msg_info "Building app" cd /opt/rwmarkable -export NEXT_TELEMETRY_DISABLE=1 -export NODE_ENV=production $STD yarn --frozen-lockfile +$STD yarn next telemetry disable $STD yarn build mkdir -p data/{users,checklists,notes} # maybe move some stuff around so the app is in a sensible spot?