Skip to content

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

Open
@refanbanzhang

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions