read system-wide configuration on windows
This commit is contained in:
1 parent
638d67c0e4
commit
2d821216a8
1 file changed
+4
-1
+4
-1
@@ -30,7 +30,10 @@ func init() {
|
||||
// remove domain prefix
|
||||
gUser.Username = strings.Split(gUser.Username, `\`)[1]
|
||||
|
||||
gConfigPaths = []string{filepath.Join(gUser.HomeDir, "AppData", "Local", "lf", "lfrc")}
|
||||
gConfigPaths = []string{
|
||||
filepath.Join(os.Getenv("ProgramData"), "lf", "lfrc"),
|
||||
filepath.Join(os.Getenv("LOCALAPPDATA"), "lf", "lfrc"),
|
||||
}
|
||||
}
|
||||
|
||||
func pauseCommand() *exec.Cmd {
|
||||
|
||||
Reference in new issue
Block a user