From ef7564a131961cc3090c49bea88d8e1829fd662f Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 18 Jun 2026 11:27:39 -0400 Subject: [PATCH] make autosync and autoupgrade support appimage --- cmd/appherder/systemd.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/appherder/systemd.go b/cmd/appherder/systemd.go index c57c96c..6414588 100644 --- a/cmd/appherder/systemd.go +++ b/cmd/appherder/systemd.go @@ -43,6 +43,9 @@ func disableUnits(units []string) error { } func binaryPath() (string, error) { + if appimage := os.Getenv("APPIMAGE"); appimage != "" { + return appimage, nil + } bin, err := os.Executable() if err != nil { return "", fmt.Errorf("resolve appherder binary: %w", err) -- 2.51.2