Browse Source

Version bump

Joachim M. Giæver 2 years ago
parent
commit
a9f7aa5f85
2 changed files with 6 additions and 2 deletions
  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