diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1d1a00e50e8dd2edfd284b57d239e193308a774f..3fe1e26759f1d17f51d0e0ff48ccca8cb77a50ad 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -22,13 +22,11 @@ apps: taos: command: taoswrapper.sh - environment: - HOME: /home/$USER plugs: - network - system-observe - systemfiles - - home + - historyfile taosdemo: command: usr/bin/taosdemo @@ -36,6 +34,13 @@ apps: - network plugs: + historyfile: + interface: personal-files + read: + - $HOME/.taos_history + write: + - $HOME/.taos_history + systemfiles: interface: system-files read: