Sandro Jäckel 86d4f907fb
Use go's embed to have access to the plain files
This makes it pretty easy for distros to install the files already to
the correct positions
2024-03-15 15:39:10 +01:00

10 lines
283 B
Bash

#!/usr/bin/env bash
# Check if the "com.quexten.Goldwarden" Flatpak is installed
if flatpak list | grep -q "com.quexten.Goldwarden"; then
flatpak run --command=goldwarden com.quexten.Goldwarden "$@"
else
# If not installed, attempt to run the local version
goldwarden "$@"
fi