mirror of https://github.com/poanetwork/gecko.git
Merge pull request #118 from ava-labs/support-apt-plugins
added local path to plugin
This commit is contained in:
commit
f701b9769c
|
@ -38,14 +38,16 @@ var (
|
|||
Config = node.Config{}
|
||||
Err error
|
||||
defaultNetworkName = genesis.TestnetName
|
||||
defaultDbDir = os.ExpandEnv(filepath.Join("$HOME", ".gecko", "db"))
|
||||
defaultStakingKeyPath = os.ExpandEnv(filepath.Join("$HOME", ".gecko", "staking", "staker.key"))
|
||||
defaultStakingCertPath = os.ExpandEnv(filepath.Join("$HOME", ".gecko", "staking", "staker.crt"))
|
||||
|
||||
homeDir = os.ExpandEnv("$HOME")
|
||||
defaultDbDir = filepath.Join(homeDir, ".gecko", "db")
|
||||
defaultStakingKeyPath = filepath.Join(homeDir, ".gecko", "staking", "staker.key")
|
||||
defaultStakingCertPath = filepath.Join(homeDir, ".gecko", "staking", "staker.crt")
|
||||
defaultPluginDirs = []string{
|
||||
"./build/plugins",
|
||||
"./plugins",
|
||||
os.ExpandEnv(filepath.Join("$HOME", ".gecko", "plugins")),
|
||||
filepath.Join(".", "build", "plugins"),
|
||||
filepath.Join(".", "plugins"),
|
||||
filepath.Join("/", "usr", "local", "lib", "gecko"),
|
||||
filepath.Join(homeDir, ".gecko", "plugins"),
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue