temporary changes
This commit is contained in:
parent
2d47319c07
commit
5cb484de72
1 changed files with 6 additions and 4 deletions
|
@ -22,10 +22,12 @@ func checkExists(path string) (bool, error) {
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// A SAMPLE COMMAND FOR LOGGING OS INFORMATION TO A DEDICATED FILE
|
// A SAMPLE COMMAND FOR LOGGING OS INFORMATION TO A DEDICATED FILE
|
||||||
userhome, err := os.UserHomeDir()
|
// userhome, err := os.UserHomeDir() // TODO $HOME is not defined while running as daemon !!!
|
||||||
if err != nil {
|
// if err != nil {
|
||||||
log.Fatal(err)
|
// log.Fatal(err)
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
userhome := "/home/asandikci" // TEMPORARY
|
||||||
configDir := userhome + "/.config/" + ProgramName + "/"
|
configDir := userhome + "/.config/" + ProgramName + "/"
|
||||||
// TODO Will be replaced with a Go Config Library
|
// TODO Will be replaced with a Go Config Library
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue