diff --git a/stores/snap/snapcraft.yaml b/stores/snap/snapcraft.yaml index 697db075e0e..70fbb6a28c3 100644 --- a/stores/snap/snapcraft.yaml +++ b/stores/snap/snapcraft.yaml @@ -1,14 +1,15 @@ name: bitwarden-cli version: "1.0.0" -summary: A secure and free password manager for all of your devices. +summary: Bitwarden CLI description: A secure and free password manager for all of your devices. -confinement: devmode +confinement: strict apps: - bitwarden-cli: + bw: command: bw plugs: [network, home, x11] parts: - bitwarden-cli: - plugin: nodejs - node-engine: 9.7.1 - source: ../.. + bw: + plugin: dump + source: https://github.com/bitwarden/cli/releases/download/v$SNAPCRAFT_PROJECT_VERSION/bw-linux-$SNAPCRAFT_PROJECT_VERSION.zip + prepare: | + chmod +x bw \ No newline at end of file