# HG changeset patch # User zegervdv # Date 1707562523 -3600 # Node ID e9fc2263c2253ff5cc90ae8e9a84709f04209b82 # Parent 8afe3c7a5a358d76efa538429c545da524ea73c6 feat: install bitwarden desktop app diff -r 8afe3c7a5a35 -r e9fc2263c225 .chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl --- a/.chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl Sat Feb 10 10:36:44 2024 +0100 +++ b/.chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl Sat Feb 10 11:55:23 2024 +0100 @@ -3,7 +3,11 @@ set -xe +DOWNLOADFILE=/tmp/bitwarden.deb curl -fsSL "https://github.com/bitwarden/clients/releases/download/cli-v2024.2.0/bw-linux-2024.2.0.zip" | zcat | install -m 755 /dev/stdin $HOME/bin/bw +curl -fsSL "https://github.com/bitwarden/clients/releases/download/desktop-v2024.2.0/Bitwarden-2024.2.0-amd64.deb" > $DOWNLOADFILE +sudo dpkg --install --skip-same-version $DOWNLOADFILE +rm -rf $DOWNLOADFILE {{ end }}