tmp: revert back

This commit is contained in:
Aliberk Sandıkçı 2023-07-30 12:57:13 +03:00
parent 7c9d75c5b0
commit 0ad46b3df8
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
1 changed files with 5 additions and 5 deletions

View File

@ -22,12 +22,12 @@ func checkExists(path string) (bool, error) {
func Info() {
// A SAMPLE COMMAND FOR LOGGING OS INFORMATION TO A DEDICATED FILE
// userhome, err := os.UserHomeDir() // TODO $HOME is not defined while running as daemon !!!
// 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
// userhome := "/home/asandikci" // TEMPORARY
configDir := userhome + "/.config/" + ProgramName + "/"
// TODO Will be replaced with a Go Config Library