feat: 添加 Live2D 渲染插件及相关依赖,优化构建和启动脚本

This commit is contained in:
2026-07-08 17:32:56 +08:00
parent a8d7c03139
commit 547085c819
15 changed files with 306 additions and 70 deletions

11
.run.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
killall showen_v2 2>/dev/null
sleep 1
cd /home/showen/Showen/ShowenV2
DISPLAY=:0 RUST_LOG=info nohup ./target/release/showen_v2 --config configs/live2d_anime.json > /tmp/sl2.log 2>&1 &
echo "PID=$!"
sleep 8
echo "=== LOG ==="
cat /tmp/sl2.log | tail -50
echo "=== PS ==="
ps aux | grep showen_v2 | grep -v grep