From ccd1ef2bd0abb7c9d86d25871dfd8744fdd450cb Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Tue, 15 Sep 2020 19:58:02 +1000 Subject: [PATCH] win-dshow: Set current working directory in VirtualCam scripts --- plugins/win-dshow/virtualcam-install.bat.in | 1 + plugins/win-dshow/virtualcam-uninstall.bat.in | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/win-dshow/virtualcam-install.bat.in b/plugins/win-dshow/virtualcam-install.bat.in index 3474a3fb1..f28696e8b 100644 --- a/plugins/win-dshow/virtualcam-install.bat.in +++ b/plugins/win-dshow/virtualcam-install.bat.in @@ -1,4 +1,5 @@ @echo off +@cd /d "%~dp0" goto checkAdmin :checkAdmin diff --git a/plugins/win-dshow/virtualcam-uninstall.bat.in b/plugins/win-dshow/virtualcam-uninstall.bat.in index 0c1aec50b..aefebf1b8 100644 --- a/plugins/win-dshow/virtualcam-uninstall.bat.in +++ b/plugins/win-dshow/virtualcam-uninstall.bat.in @@ -1,4 +1,5 @@ @echo off +@cd /d "%~dp0" goto checkAdmin :checkAdmin