698ae32c7c2dd52578181f0fc7aac3a6a8b80b60
3 mkdir
-p tmp
/hdmi-switcher
6 cp hdmi-switcher tmp
/hdmi-switcher
7 cp start.sh tmp
/hdmi-switcher
8 cp update.sh tmp
/hdmi-switcher
10 zip -r update hdmi-switcher
12 mv tmp
/update.
zip dist
15 if [ -f
"private.pem" ]
17 openssl dgst
-sha256
-sign private.pem
-out dist
/update.sig dist
/update.
zip
19 echo "Warning: Unable to sign file. Private key not found."