summaryrefslogtreecommitdiff
path: root/contrib/win-installer/build-hooks.bat
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/win-installer/build-hooks.bat')
-rw-r--r--contrib/win-installer/build-hooks.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/win-installer/build-hooks.bat b/contrib/win-installer/build-hooks.bat
new file mode 100644
index 000000000..d663f87b8
--- /dev/null
+++ b/contrib/win-installer/build-hooks.bat
@@ -0,0 +1,4 @@
+cd ../..
+go build -buildmode=c-shared -o contrib/win-installer/artifacts/podman-msihooks.dll ./cmd/podman-msihooks || exit /b 1
+go build -ldflags -H=windowsgui -o contrib/win-installer/artifacts/podman-wslkerninst.exe ./cmd/podman-wslkerninst || exit /b 1
+cd contrib/win-installer