Skip to content

Commit

Permalink
build(scripts): add install_deb_bundle script
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Sep 8, 2024
1 parent db7f01e commit 8d52924
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/dev/install_deb_bundle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -e

yarn release:deb
# Allow `_apt` user to access the `deb` file
mv ./src-tauri/target/release/bundle/deb/clamav-desktop_0.0.0_amd64.deb /tmp
if dpkg -l | grep -qw twps-desktop; then
sudo apt remove -y clamav-desktop || true
fi
sudo apt install -y /tmp/clamav-desktop_0.0.0_amd64.deb

0 comments on commit 8d52924

Please sign in to comment.