nextExplorer: disable shell for user; fix version display

This commit is contained in:
vhsdream
2026-01-15 22:50:31 -05:00
parent 15dc08ef04
commit b92931f6ee
2 changed files with 5 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ function update_script() {
mv backend/{node_modules,src,package.json} "$APP_DIR"
mv frontend/dist/ "$APP_DIR"/src/public
chown -R explorer:explorer "$APP_DIR" /etc/nextExplorer
sed -i "\|version|s|$(jq -cr '.version' ${APP_DIR}/package.json)|$(cat ~/.nextexplorer)|" "$APP_DIR"/package.json
msg_ok "Updated nextExplorer"
msg_info "Starting nextExplorer"