feat: release OpsXShell 2.1.0 native Tauri edition

This commit is contained in:
Logan.Li committed 2026-07-30 23:32:51 +08:00
1 parent e9a0d21758
commit a3dba0c6ed
311 files changed
+31748 -14897

No files matched your search

+1 -4
View File
@@ -16,7 +16,6 @@ echo -e "${CYAN}🦐 启动 OpsXShell...${NC}"
# 1. 清理旧进程
echo -e "${YELLOW}🧹 清理旧进程...${NC}"
pkill -f "vite" 2>/dev/null || true
pkill -f "electron" 2>/dev/null || true
pkill -f "opsxshell" 2>/dev/null || true
sleep 1
@@ -26,9 +25,8 @@ if [ ! -d "node_modules" ]; then
npm install
fi
# 3. 启动 Vite + Electron (npm run dev 已包含 electron 启动)
# 3. 启动 Tauri 开发应用
echo -e "${GREEN}⚡ 启动 OpsXShell...${NC}"
export VITE_DEV_SERVER_URL=http://localhost:5173
npm run dev > "$LOG_FILE" 2>&1 &
VITE_PID=$!
echo $VITE_PID > "$PID_FILE"
@@ -37,7 +35,6 @@ echo $VITE_PID > "$PID_FILE"
sleep 3
echo ""
echo -e "${CYAN}📝 注意: IMKCFRunLoopWakeUpReliable 是 macOS Electron 已知问题,不影响功能${NC}"
echo -e "${GREEN}🎉 OpsXShell 已启动!${NC}"
echo -e "${CYAN}📄 日志: tail -f ${LOG_FILE}${NC}"
echo -e "${CYAN}🔍 DevTools: 按 Cmd+Option+I (macOS) 或 F12${NC}"