temporary changes

This commit is contained in:
Aliberk Sandıkçı 2023-07-27 13:10:28 +03:00
parent 2d47319c07
commit 5cb484de72
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -22,10 +22,12 @@ func checkExists(path string) (bool, error) {
func main() {
// A SAMPLE COMMAND FOR LOGGING OS INFORMATION TO A DEDICATED FILE
userhome, err := os.UserHomeDir()
if err != nil {
log.Fatal(err)
}
// userhome, err := os.UserHomeDir() // TODO $HOME is not defined while running as daemon !!!
// if err != nil {
// log.Fatal(err)
// }
userhome := "/home/asandikci" // TEMPORARY
configDir := userhome + "/.config/" + ProgramName + "/"
// TODO Will be replaced with a Go Config Library