Change homescreen over appsY
[apps/agl-service-windowmanager-2017.git] / deploy.sh
1 #!/bin/bash
2 cd build
3 source /opt/agl-sdk/6.0.0_toyota-special/environment-setup-aarch64-agl-linux
4 make package
5 if [ $? -eq 0 ]; then
6   scp package/windowmanager-service-2017.wgt root@${1}:~
7   ssh root@${1} afm-util remove  windowmanager-service-2017@0.1
8   ssh root@${1} afm-util install windowmanager-service-2017.wgt
9   ssh root@${1} sync
10   ssh root@${1} reboot
11 fi