This commit is contained in:
2025-02-27 13:53:15 +08:00
parent 6e4bf4a2c0
commit b36e67f826
6 changed files with 44 additions and 7 deletions

View File

@@ -33,6 +33,13 @@ xset dpms force on
ffplay -autoexit -fs -i video.mp4
```
### 注册为 service ,并开机启动
```bash
sudo cp /script/game-driver.service /etc/systemd/system/
sudo systemctl enable game-driver
sudo systemctl start game-driver
```
## 编译 arm64 架构
```bash
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -o game-driver-arm64 .