Simple bash script to automatically check for ProtonPass updates and install them if necessary.
You can use the install script to setup a cron job for the root user to automatically install updates when your system starts up.
sudo bash install.shIf the script is successful, ProtonPass will be updated every time your system starts up.
You can also run the script manually. If you installed the script using the install script, this is not needed.
If /usr/share/protonpass-autoupdate does not exist, the script will use the current directory.
In order to run dpkg or rpm, the script uses sudo to run the commands with elevated privileges.
You may be prompted for your password at this point.
bash protonpass-linux-autoupdate.shIf /usr/share/protonpass-autoupdate exists and you don't have read/write permissions, the script will fail.