From e65f9230bfb60dd3bae1dbc15b885b1dfc1ee967 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 24 May 2018 23:43:50 -0400 Subject: [PATCH] use binary snap instead --- stores/snap/snapcraft.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/stores/snap/snapcraft.yaml b/stores/snap/snapcraft.yaml index 697db075e0..70fbb6a28c 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