Skip to content

Commit

Permalink
fix linux init
Browse files Browse the repository at this point in the history
  • Loading branch information
JokerQyou committed Jun 12, 2024
1 parent 50c0bf3 commit 4703b4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension/extension_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package extension

import (
"github.com/adrg/xdg"
"os/exec"
"path/filepath"
)
Expand All @@ -26,5 +27,5 @@ func isFuseAvailable() bool {
// locateLogDirectory returns the path in which log files should be stored.
// The directory might not exist yet.
func locateLogDirectory() string {
return filepath.Join(locateAppDataDirectory(), "logs")
return filepath.Join(xdg.DataHome, "Cloak", "logs")
}

0 comments on commit 4703b4c

Please sign in to comment.