diff options
| author | kali kaneko (leap communications) <kali@leap.se> | 2020-09-25 12:23:47 +0200 | 
|---|---|---|
| committer | kali kaneko (leap communications) <kali@leap.se> | 2020-09-25 12:23:47 +0200 | 
| commit | ef0d5525b7c47d03b7577035e3394b450691e92b (patch) | |
| tree | 0bda2eedba66718a4dcf90be77647d1b6bc84503 /pkg/backend/api.go | |
| parent | 998b5cb54ad23be1f6df0ee8abd08af5614f38db (diff) | |
[refactor] grab appname from providers.json
Diffstat (limited to 'pkg/backend/api.go')
| -rw-r--r-- | pkg/backend/api.go | 10 | 
1 files changed, 0 insertions, 10 deletions
| diff --git a/pkg/backend/api.go b/pkg/backend/api.go index a8d16a3..d422bf3 100644 --- a/pkg/backend/api.go +++ b/pkg/backend/api.go @@ -145,16 +145,6 @@ func EnableWebAPI(port string) {  	go enableWebAPI(intPort)  } -/* these two are a bit redundant since we already add them to ctx. however, we -   want to have them available before everything else, to be able to parse cli -   arguments. In the long run, we probably want to move all vendoring to qt, so -   this probably should not live in the backend, see #326*/ -  func GetVersion() *C.char {  	return C.CString(version.VERSION)  } - -func GetAppName() *C.char { -	p := bitmask.GetConfiguredProvider() -	return C.CString(p.AppName) -} | 
