logging, upload, etc

This commit is contained in:
2025-08-19 12:44:15 +02:00
parent 0f9b423d2f
commit 47080e14db
12 changed files with 399 additions and 182 deletions

View File

@@ -9,7 +9,6 @@ import (
"git.blackforestbytes.com/BlackForestBytes/goext/cryptext"
"git.blackforestbytes.com/BlackForestBytes/goext/exerr"
"github.com/shirou/gopsutil/v3/process"
"mikescher.com/kpsync/log"
)
func fileExists(p string) bool {
@@ -78,10 +77,10 @@ func (app *Application) calcLocalChecksum() (string, error) {
return cryptext.BytesSha256(bin), nil
}
func isKeepassRunning() bool {
func (app *Application) isKeepassRunning() bool {
proc, err := process.Processes()
if err != nil {
log.LogError("failed to query existing keepass process", err)
app.LogError("failed to query existing keepass process", err)
return false
}