2023-07-17 03:23:26 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2023-07-17 05:02:29 +02:00
|
|
|
"os"
|
|
|
|
"strings"
|
|
|
|
|
|
|
|
"github.com/quexten/goldwarden/browserbiometrics"
|
2023-07-17 03:23:26 +02:00
|
|
|
"github.com/quexten/goldwarden/cmd"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2023-07-17 05:02:29 +02:00
|
|
|
if len(os.Args) > 1 && strings.Contains(os.Args[1], "com.8bit.bitwarden.json") {
|
|
|
|
browserbiometrics.Main()
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
2023-07-17 03:23:26 +02:00
|
|
|
cmd.Execute()
|
|
|
|
}
|