unity打包版本到 deck 做測試
deck 查看ip
$ ip a
在windows
$ scp -rv "D:\OlgCase\RS\Build_3" deck@10.1.129.121:/home/deck/Games
如果要做同步,可以用下面的指令
$ rsync -avh --progress "D:\OlgCase\RS\Build_3" deck@10.1.129.121:/home/deck/Games
出現下面錯誤,連不上
Executing: program ssh.exe host 10.1.129.121, user deck, command sftp
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Connecting to 10.1.129.121 [10.1.129.121] port 22.
debug1: connect to address 10.1.129.121 port 22: Connection refused
ssh: connect to host 10.1.129.121 port 22: Connection refused
scp: Connection closed
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Connecting to 10.1.129.121 [10.1.129.121] port 22.
debug1: connect to address 10.1.129.121 port 22: Connection refused
ssh: connect to host 10.1.129.121 port 22: Connection refused
scp: Connection closed
切換到 Steam 查看sshd是否開啓
$ systemctl status sshd
開啓sshd服務
$ systemctl start sshd
再次執行,輸入 yes
輸入 deck 密碼,開始傳輸
調試 deck 時打包必須勾選 Development Build、Scripting Debugging
開啓unity console,選擇 deck 連接
打開 analyze -> profile, 可以查看狀態
deck 上面log路徑
/home/deck/.local/share/Steam/steamapps/compatdata/{appId}/pfx/drive_c/users/steamuser/AppData/LocalLow/{Company}/{Product}/Player.log
/home/deck/.local/share/Steam/steamapps/compatdata/2727881700/pfx/drive_c/users/steamuser/AppData/LocalLow/UserXX/HSXX/Player.log
留言
張貼留言