changeset 842:e9fc2263c225

feat: install bitwarden desktop app
author zegervdv <zegervdv@me.com>
date Sat, 10 Feb 2024 11:55:23 +0100
parents 8afe3c7a5a35
children 8430f87e87c8
files .chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 }}