mirror of
https://github.com/dnote/dnote
synced 2026-03-16 07:25:49 +01:00
* Create platform specific directory definitions * Fix CLI integration test * Rename dirs to paths and get config path * Namespace * Fix initialization of dirs * Simplify and change description * Simplify * Fix build flag * Bump sqlite version * Bump xgo
14 lines
232 B
Go
14 lines
232 B
Go
// +build windows
|
|
|
|
package dirs
|
|
|
|
import (
|
|
"path/filepath"
|
|
)
|
|
|
|
func initDirs() {
|
|
Home = getHomeDir()
|
|
ConfigHome = filepath.Join(Home, ".dnote")
|
|
DataHome = filepath.Join(Home, ".dnote")
|
|
CacheHome = filepath.Join(Home, ".dnote")
|
|
}
|