2020-04-07 17:28:09 +01:00
|
|
|
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2021-08-17 18:25:32 +01:00
|
|
|
//go:build ios
|
2020-04-07 17:28:09 +01:00
|
|
|
|
|
|
|
package version
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
)
|
|
|
|
|
|
|
|
func CmdName() string {
|
|
|
|
e, err := os.Executable()
|
|
|
|
if err != nil {
|
|
|
|
return "cmd"
|
|
|
|
}
|
|
|
|
return e
|
|
|
|
}
|