From 7fcce4e7a8c1c85ce3e3b7ba0f78d81fdae866fb Mon Sep 17 00:00:00 2001 From: Alex Van Camp Date: Fri, 17 Apr 2020 10:47:42 -0500 Subject: [PATCH] fix: fix again --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 759c068..c254a85 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,7 +31,7 @@ async function main(): Promise { let vlcBinaryPath = await Registry.get('HKLM\\Software\\WOW6432Node\\VideoLAN\\VLC', ''); if (!vlcBinaryPath) { - let vlcBinaryPath = await Registry.get('HKLM\\Software\\VideoLAN\\VLC', ''); + vlcBinaryPath = await Registry.get('HKLM\\Software\\VideoLAN\\VLC', ''); if (!vlcBinaryPath) { console.error('VLC does not appear to be installed on this system, exiting.'); return process.exit(1);