feat: 添加 Live2D 渲染插件及相关依赖,优化构建和启动脚本
This commit is contained in:
11
.run.sh
Normal file
11
.run.sh
Normal 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
|
||||
Reference in New Issue
Block a user