From 9a88a815cb6df5864487313619c195412a2d801f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Andr=C3=A9=20Langnes?= Date: Fri, 30 Aug 2024 03:17:14 +0900 Subject: [PATCH] Add dummy files to allow vendoring --- libs/mswebview2/include/vendor.go | 2 ++ libs/mswebview2/vendor.go | 2 ++ libs/webview/include/vendor.go | 2 ++ libs/webview/vendor.go | 2 ++ webview.go | 4 ++++ 5 files changed, 12 insertions(+) create mode 100644 libs/mswebview2/include/vendor.go create mode 100644 libs/mswebview2/vendor.go create mode 100644 libs/webview/include/vendor.go create mode 100644 libs/webview/vendor.go diff --git a/libs/mswebview2/include/vendor.go b/libs/mswebview2/include/vendor.go new file mode 100644 index 0000000..20a0da1 --- /dev/null +++ b/libs/mswebview2/include/vendor.go @@ -0,0 +1,2 @@ +// Dummy file to allow vendoring. +package vendor diff --git a/libs/mswebview2/vendor.go b/libs/mswebview2/vendor.go new file mode 100644 index 0000000..20a0da1 --- /dev/null +++ b/libs/mswebview2/vendor.go @@ -0,0 +1,2 @@ +// Dummy file to allow vendoring. +package vendor diff --git a/libs/webview/include/vendor.go b/libs/webview/include/vendor.go new file mode 100644 index 0000000..20a0da1 --- /dev/null +++ b/libs/webview/include/vendor.go @@ -0,0 +1,2 @@ +// Dummy file to allow vendoring. +package vendor diff --git a/libs/webview/vendor.go b/libs/webview/vendor.go new file mode 100644 index 0000000..20a0da1 --- /dev/null +++ b/libs/webview/vendor.go @@ -0,0 +1,2 @@ +// Dummy file to allow vendoring. +package vendor diff --git a/webview.go b/webview.go index 6acf90d..7cf0d9f 100644 --- a/webview.go +++ b/webview.go @@ -25,6 +25,10 @@ void CgoWebViewUnbind(webview_t w, const char *name); */ import "C" import ( + _ "github.com/webview/webview_go/libs/mswebview2" + _ "github.com/webview/webview_go/libs/mswebview2/include" + _ "github.com/webview/webview_go/libs/webview" + _ "github.com/webview/webview_go/libs/webview/include" "encoding/json" "errors" "reflect"