chore: fix some typos

Signed-off-by: tianzedavid <cuitianze@aliyun.com>
This commit is contained in:
tianzedavid 2025-02-13 01:00:46 +08:00
parent bb797dcb2a
commit 7ee7922766
3 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ If you want to use certificate files, due to standard snap confinement restricti
#### Running noVNC from snap as a service (daemon)
The snap package also has the capability to run a 'novnc' service which can be
configured to listen on multiple ports connecting to multiple VNC servers
(effectively a service runing multiple instances of novnc).
(effectively a service running multiple instances of novnc).
Instructions (with example values):
List current services (out-of-box this will be blank):

View File

@ -13,7 +13,7 @@ import Base64 from '../base64.js';
// Touch detection
export let isTouchDevice = ('ontouchstart' in document.documentElement) ||
// requried for Chrome debugger
// required for Chrome debugger
(document.ontouchstart !== undefined) ||
// required for MS Surface
(navigator.maxTouchPoints > 0) ||

View File

@ -11,7 +11,7 @@
# "vnc": "localhost:5902"
#}
#}
snapctl get services | jq -c '.[]' | while read service; do # for each service the user sepcified..
snapctl get services | jq -c '.[]' | while read service; do # for each service the user specified..
# get the important data for the service (listen port, VNC host:port)
listen_port="$(echo $service | jq --raw-output '.listen')"
vnc_host_port="$(echo $service | jq --raw-output '.vnc')" # --raw-output removes any quotation marks from the output