You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could get rid of this* if we use a post-install script in the deb package. But Tauri's deb bundler doesn't support that, so we'd need to switch to cargo-deb. I'd really like to do that and use build.rs or something instead of build.bat and build.sh, but it's a big time sink.
*The adduser step probably should be manual, but systemctl and groupadd can be done in a post-install script.
#!/usr/bin/env bash# Usage: bash firezone-setup.bash firezone-client-gui_VERSION_ARCH.deb# This script should be idempotentset -euox pipefail
echo"Adding your user to the firezone group..."
sudo groupadd --force firezone
sudo adduser "$USER" firezone
echo"Installing Firezone..."
sudo apt install "$1"echo"Starting and enabling Firezone IPC service..."
sudo systemctl enable --now firezone-client-ipc
# Unfortunately Ubuntu seems to need a reboot here, at least 20.04 doesecho"Reboot to finish adding yourself to the group"
The text was updated successfully, but these errors were encountered:
Before merging
We could get rid of this* if we use a post-install script in the deb package. But Tauri's deb bundler doesn't support that, so we'd need to switch to
cargo-deb
. I'd really like to do that and usebuild.rs
or something instead ofbuild.bat
andbuild.sh
, but it's a big time sink.*The
adduser
step probably should be manual, but systemctl and groupadd can be done in a post-install script.The text was updated successfully, but these errors were encountered: