misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-09-21 19:40:56 +02:00
commit 654585ff1f
No known key found for this signature in database
GPG key ID: 82E42E7F3B34C97E
3 changed files with 12 additions and 15 deletions

View file

@ -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,
}