summaryrefslogtreecommitdiff
path: root/cmd/bitmask-helper
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bitmask-helper')
-rw-r--r--cmd/bitmask-helper/main.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/cmd/bitmask-helper/main.go b/cmd/bitmask-helper/main.go
index 4a627d9..ec9868e 100644
--- a/cmd/bitmask-helper/main.go
+++ b/cmd/bitmask-helper/main.go
@@ -28,7 +28,10 @@ const (
logFile = "helper.log"
)
-var version string
+var (
+ Version string
+ AppName string
+)
func main() {
logger, err := config.ConfigureLogger(path.Join(helper.LogFolder, logFile))
@@ -37,7 +40,8 @@ func main() {
} else {
defer logger.Close()
}
- config.Version = version
+ helper.Version = Version
+ helper.AppName = AppName
// StartHelper is the main entry point - it also handles cli args in windows, and starts the http server.
helper.StartHelper(preferredPort)