瀏覽代碼

Version bump

Joachim M. Giæver 2 年之前
父節點
當前提交
a9f7aa5f85
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 1 1
      snap/snapcraft.yaml
  2. 5 1
      src/helper/functions

File diff suppressed because it is too large
+ 1 - 1
snap/snapcraft.yaml


+ 5 - 1
src/helper/functions

@@ -43,7 +43,11 @@ function plug_connected {
     if ! snapctl is-connected "${1}"; then
         echo "Missing plug: «${1}»" >&2
         echo "Connect with:"
-        echo "$ sudo snap connect ${SNAP_NAME}:${1}"
+	if [ "${1}" == "serial-port" ]; then
+		echo "$ sudo snap connect ${SNAP_NAME}:${1} <slot name>"
+	else
+		echo "$ sudo snap connect ${SNAP_NAME}:${1}"
+	fi
         return 1
     fi
     return 0

Some files were not shown because too many files changed in this diff