1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00

add more package support

This commit is contained in:
Zack Scholl 2018-10-13 10:19:43 -06:00
parent 74f0ac5950
commit 09a90a322a
2 changed files with 85 additions and 34 deletions

View file

@ -17,7 +17,7 @@ import (
"github.com/urfave/cli"
)
var version string
var Version string
var codePhrase string
var cr *croc.Croc
@ -25,11 +25,11 @@ var cr *croc.Croc
func main() {
app := cli.NewApp()
app.Name = "croc"
if version == "" {
version = "dev"
if Version == "" {
Version = "dev"
}
app.Version = version
app.Version = Version
app.Compiled = time.Now()
app.Usage = "easily and securely transfer stuff from one computer to another"
app.UsageText = "croc allows any two computers to directly and securely transfer files"