diff --git a/v2/internal/ffenestri/features_darwin.go b/v2/internal/ffenestri/features_darwin.go deleted file mode 100644 index b7477f53..00000000 --- a/v2/internal/ffenestri/features_darwin.go +++ /dev/null @@ -1,18 +0,0 @@ -package ffenestri - -/* - -#cgo darwin CFLAGS: -DFFENESTRI_DARWIN=1 -#cgo darwin LDFLAGS: -framework WebKit -lobjc - -#include -#include "ffenestri.h" - - -*/ -import "C" -import "github.com/wailsapp/wails/v2/internal/features" - -func (a *Application) processOSFeatureFlags(features *features.Features) { - -} diff --git a/v2/internal/ffenestri/features_linux.go b/v2/internal/ffenestri/features_linux.go deleted file mode 100644 index 1da24cae..00000000 --- a/v2/internal/ffenestri/features_linux.go +++ /dev/null @@ -1,23 +0,0 @@ -// +build linux - -package ffenestri - -/* - -#cgo linux CFLAGS: -DFFENESTRI_LINUX=1 -#cgo linux pkg-config: gtk+-3.0 webkit2gtk-4.0 - -#include -#include "ffenestri.h" - - -*/ -import "C" -import "github.com/wailsapp/wails/v2/internal/features" - -func (a *Application) processOSFeatureFlags(features *features.Features) { - - // Process Linux features - // linux := features.Linux - -} diff --git a/v2/internal/ffenestri/ffenestri.go b/v2/internal/ffenestri/ffenestri.go index 548ee762..3d29df6c 100644 --- a/v2/internal/ffenestri/ffenestri.go +++ b/v2/internal/ffenestri/ffenestri.go @@ -164,9 +164,6 @@ func (a *Application) Run(incomingDispatcher Dispatcher, bindings string, featur // Set bindings C.SetBindings(app, a.string2CString(bindings)) - // Process feature flags - a.processFeatureFlags(features) - // save the dispatcher in a package variable so that the C callbacks // can access it dispatcher = incomingDispatcher.RegisterClient(newClient(a)) @@ -192,11 +189,3 @@ func (a *Application) Run(incomingDispatcher Dispatcher, bindings string, featur func messageFromWindowCallback(data *C.char) { dispatcher.DispatchMessage(C.GoString(data)) } - -func (a *Application) processFeatureFlags(features *features.Features) { - - // Process generic features - - // Process OS Specific flags - a.processOSFeatureFlags(features) -}