comparison .chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl @ 1091:a1fab5298ef6 draft tip

feat: update to bitwarden 25.3 and enable ssh-agent
author Zeger Van de Vannet <zeger@vandevan.net>
date Mon, 21 Apr 2025 20:13:02 +0200
parents 3bcc2c5ddef3
children
comparison
equal deleted inserted replaced
1090:527772a66bec 1091:a1fab5298ef6
4 set -xe 4 set -xe
5 5
6 sudo apt install -y libnss3 libsecret-1-0 libxss1 6 sudo apt install -y libnss3 libsecret-1-0 libxss1
7 7
8 DOWNLOADFILE=/tmp/bitwarden.deb 8 DOWNLOADFILE=/tmp/bitwarden.deb
9 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 9 VERSION="2025.3.0"
10 curl -fsSL "https://github.com/bitwarden/clients/releases/download/desktop-v2024.2.0/Bitwarden-2024.2.0-amd64.deb" > $DOWNLOADFILE 10 curl -fsSL "https://github.com/bitwarden/clients/releases/download/cli-v${VERSION}/bw-linux-${VERSION}.zip" | zcat | install -m 755 /dev/stdin $HOME/bin/bw
11 curl -fsSL "https://github.com/bitwarden/clients/releases/download/desktop-v${VERSION}/Bitwarden-${VERSION}-amd64.deb" > $DOWNLOADFILE
11 sudo dpkg --install --skip-same-version $DOWNLOADFILE 12 sudo dpkg --install --skip-same-version $DOWNLOADFILE
12 rm -rf $DOWNLOADFILE 13 rm -rf $DOWNLOADFILE
13 14
14 $HOME/bin/mise x [email protected] -- cargo install --version 1.13.2 rbw 15 $HOME/bin/mise x [email protected] -- cargo install --version 1.13.2 rbw
15 16