Forced the evaluation of symlinks

This commit is contained in:
2025-02-04 00:00:43 +01:00
parent fff21230d7
commit fc1b970f7f

View File

@ -25,6 +25,12 @@ func init() {
panic(err) panic(err)
} }
Executable, err = filepath.EvalSymlinks(Executable)
if err != nil {
panic(err)
}
WorkingDirectory, err = os.Getwd() WorkingDirectory, err = os.Getwd()
if err != nil { if err != nil {