mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
28 lines
1.0 KiB
Go
28 lines
1.0 KiB
Go
//go:build ios
|
|
|
|
package global
|
|
|
|
import (
|
|
"path/filepath"
|
|
|
|
"github.com/rwinkhart/go-boilerplate/back"
|
|
)
|
|
|
|
func init() {
|
|
back.Home = fruityHome
|
|
}
|
|
|
|
var (
|
|
fruityHome = filepath.Join(back.Home, "Library", "Application Support", "libmutton-ios") // private, non-iCloud-backed dir
|
|
EntryRoot = fruityHome + "/entries" // Path to libmutton entry directory
|
|
CfgDir = fruityHome + "/config" // Path to libmutton configuration directory
|
|
CfgPath = CfgDir + "/libmuttoncfg.json" // Path to libmutton configuration file
|
|
AgeDir = CfgDir + "/age" // Path to libmutton password age directory
|
|
SSHDir = fruityHome + "/ssh" // Path to SSH directory
|
|
)
|
|
|
|
const (
|
|
PathSeparator = "/" // Platform-specific path separator
|
|
IsWindows = false // Platform indicator
|
|
)
|