diff --git a/Makefile b/Makefile index 9c2180f487f5d7d553d26a2dddc085ff92591187..18434d02c0903b8ff8a8fd353ae98f733acb600f 100644 --- a/Makefile +++ b/Makefile @@ -138,7 +138,7 @@ ifeq (${SKIP_CACHECK}, no) endif generate: - @go generate cmd/bitmask-vpn/main.go + @go generate gui/backend.go relink_default: ifneq (,$(wildcard ${DEFAULT_PROVIDER})) diff --git a/gui/backend.go b/gui/backend.go index ab96edbeb7834aeafe7fe1d2e618d50ce36dcc9a..edb2b173a116c0ad3ad2eaf50910869a774b25e3 100644 --- a/gui/backend.go +++ b/gui/backend.go @@ -1,5 +1,7 @@ package main +//go:generate python3 ../branding/scripts/vendorize.py ../branding/templates/bitmaskvpn/config.go ../branding/config/vendor.conf ../pkg/config/config.go + /* a wrapper around bitmask that exposes status to a QtQml gui. Have a look at the pkg/backend module for further enlightment. */ diff --git a/pkg/config/config.go b/pkg/config/config.go index 4228dae2ccd5d2365ecb30b38095cbe05deecb93..ad159a12e4b89f7bc6daafabb7ed88cb15eb9219 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -1,6 +1,6 @@ // Code generated by go generate; DO NOT EDIT. // This file was generated by vendorize.py -// At 2020-04-14 18:42:06 +// At 2020-06-16 21:44:41 package config