- slightly edited .ino files - documentation added - now it will save the logs in special directories on any os
25 lines
266 B
Go
25 lines
266 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/mitchellh/go-homedir"
|
|
"log"
|
|
)
|
|
|
|
var (
|
|
HOME string
|
|
PATH string
|
|
)
|
|
|
|
func init() {
|
|
var err error
|
|
HOME, err = homedir.Dir()
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
|
|
PATH = HOME + "\\Downloads"
|
|
}
|