Skip to content

Commit

Permalink
Fix --VCP flag
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Aug 31, 2022
1 parent 82d8948 commit a5bf1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/electron.js
Expand Up @@ -3045,7 +3045,7 @@ function handleCommandLine(event, argv, directory, additionalData) {
// DDC/CI command
if (arg.indexOf("--vcp=") === 0 && arg.indexOf(":")) {
try {
const values = arg.substring(8).replace('"').replace('"').split(":")
const values = arg.substring(6).replace('"').replace('"').split(":")
ddcciVCP = {
code: parseInt(values[0]),
value: parseInt(values[1])
Expand Down

0 comments on commit a5bf1d9

Please sign in to comment.