From ef0d5525b7c47d03b7577035e3394b450691e92b Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 25 Sep 2020 12:23:47 +0200 Subject: [refactor] grab appname from providers.json --- pkg/backend/api.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'pkg/backend/api.go') 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) -} -- cgit v1.2.3