powerful but friendly backup program that runs in your tray, powered by restic devins.page/restray
go restic system-tray
2

Configure Feed

Select the types of activity you want to include in your feed.

fix: path

intergrav (Jul 2, 2026, 5:14 AM EDT) 4dcc8e20 cf3053ab

+3 -3
+3 -3
cmd/restray/console_darwin.go
··· 18 18 for k, v := range vars { 19 19 fmt.Fprintf(envFile, "%s=%s\x00", k, v) 20 20 } 21 - if p, _ := findRestic(); p != "" { 22 - fmt.Fprintf(envFile, "PATH=%s:%s\x00", filepath.Dir(p), os.Getenv("PATH")) 23 - } 24 21 envFile.Close() 25 22 26 23 script, err := os.CreateTemp("", "restray-shell-*.sh") ··· 35 32 fmt.Fprintf(script, "#!/bin/sh\n") 36 33 fmt.Fprintf(script, "while IFS='=' read -r -d '' k v; do export \"$k=$v\"; done < %q\n", envFile.Name()) 37 34 fmt.Fprintf(script, "rm -f %q\n", envFile.Name()) 35 + if p, _ := findRestic(); p != "" { 36 + fmt.Fprintf(script, "export PATH=%q:\"$PATH\"\n", filepath.Dir(p)) 37 + } 38 38 fmt.Fprintf(script, "clear\n") 39 39 fmt.Fprintf(script, "rm -f %q\n", script.Name()) 40 40 fmt.Fprintf(script, "echo '%s'\n", consoleMsg)