mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
91f074c3ee
commit
654585ff1f
3 changed files with 12 additions and 15 deletions
|
@ -8,16 +8,18 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
EnvVarName = "CAPSPATH"
|
||||
Suffix = ".cap"
|
||||
InstallArchive = "https://github.com/bettercap/caplets/archive/master.zip"
|
||||
InstallBase = "/usr/local/share/bettercap/"
|
||||
InstallPathArchive = "/usr/local/share/bettercap/caplets-master/"
|
||||
InstallPath = "/usr/local/share/bettercap/caplets/"
|
||||
EnvVarName = "CAPSPATH"
|
||||
Suffix = ".cap"
|
||||
InstallArchive = "https://github.com/bettercap/caplets/archive/master.zip"
|
||||
InstallBase = "/usr/local/share/bettercap/"
|
||||
)
|
||||
|
||||
var (
|
||||
InstallPathArchive = filepath.Join(InstallBase, "caplets-master")
|
||||
InstallPath = filepath.Join(InstallBase, "caplets")
|
||||
|
||||
LoadPaths = []string{
|
||||
"./",
|
||||
"./caplets/",
|
||||
InstallPath,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue