更改项目名为NebulaShell

This commit is contained in:
Falck
2026-05-02 08:30:31 +08:00
parent d16e28ab17
commit 2c2ec60a2b
233 changed files with 298 additions and 276 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# ═══════════════════════════════════════════════════════════
# FutureOSS 智能启动脚本 - Linux
# NebulaShell 智能启动脚本 - Linux
# 自动检测环境 / 安装依赖 / 进度显示 / 守护重启
# ═══════════════════════════════════════════════════════════
@@ -325,8 +325,8 @@ if command -v mysql &>/dev/null; then
ok "MySQL: $(mysql --version 2>&1)"
if pgrep mysqld > /dev/null 2>&1 || pgrep mariadbd > /dev/null 2>&1; then
ok "MySQL 服务运行中"
mysql -u root -e "CREATE DATABASE IF NOT EXISTS futureoss CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" 2>/dev/null && \
ok "数据库 futureoss 已就绪" || \
mysql -u root -e "CREATE DATABASE IF NOT EXISTS nebulashell CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" 2>/dev/null && \
ok "数据库 nebulashell 已就绪" || \
warn "无法创建数据库,请检查权限"
else
warn "MySQL 服务未运行"
@@ -341,11 +341,11 @@ fi
# ═══════════════════════════════════════════════════════════
# 7. 启动服务
# ═══════════════════════════════════════════════════════════
step "启动 FutureOSS"
step "启动 NebulaShell"
if $DAEMON; then
LOG_FILE="logs/futureoss.log"
PID_FILE="logs/futureoss.pid"
LOG_FILE="logs/nebulashell.log"
PID_FILE="logs/nebulashell.pid"
if [[ -f "$PID_FILE" ]]; then
OLD_PID=$(cat "$PID_FILE")