Skip to content

Commit

Permalink
fix: look in the correct registry key
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Van Camp committed Feb 9, 2020
1 parent 14e3bca commit 964b47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function main(): Promise<void> {
return process.exit(1);
}

const vlcBinaryPath = await Registry.get('HKLM\\Software\\VideoLAN\\VLC', '');
const vlcBinaryPath = await Registry.get('HKLM\\Software\\WOW6432Node\\VideoLAN\\VLC', '');
if (!vlcBinaryPath) {
console.error('VLC does not appear to be installed on this system, exiting.');
return process.exit(1);
Expand Down

0 comments on commit 964b47e

Please sign in to comment.