Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why can't the key of putValue be an empty string? #124

Open
refanbanzhang opened this issue Aug 21, 2024 · 0 comments
Open

why can't the key of putValue be an empty string? #124

refanbanzhang opened this issue Aug 21, 2024 · 0 comments

Comments

@refanbanzhang
Copy link

await promisifiedRegedit.putValue({
  [`HKCR\\CLSID\\{b65db688-9b12-4a08-b397-b92e6eec8a99}\\DefaultIcon`]: {
    "": {
      value: 'value',
      type: 'REG_EXPAND_SZ',
    },
  }
});
// Error: expected to have groups of 4 arguments for each value that is written to the registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant