Spaces:
Sleeping
Sleeping
Upload ai_studio_code 3.sh
Browse files- ai_studio_code 3.sh +11 -0
ai_studio_code 3.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# 1. 赋予脚本执行权限
|
| 4 |
+
chmod +x sync.sh
|
| 5 |
+
|
| 6 |
+
# 2. 后台启动备份脚本
|
| 7 |
+
./sync.sh &
|
| 8 |
+
|
| 9 |
+
# 3. 启动主程序 (参考原本的 npm start)
|
| 10 |
+
echo "启动主程序..."
|
| 11 |
+
npm start
|