registry-js icon indicating copy to clipboard operation
registry-js copied to clipboard

A simple and opinionated library for working with the Windows registry

Results 18 registry-js issues
Sort by recently updated
recently updated
newest added

Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0. Release notes Sourced from jsdom's releases. Version 16.7.0 Added AbortSignal.abort(). (ninevra) Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)...

dependencies

- [ ] test how this works with local group policy enforced - [ ] documentation

Hi, When I add registry-js via npm install registry-js, the program build will fail. the details log is as below: ======================================================================= C:\code\Msp_electron>npm install registry-js --python="C:\Users\zredb\miniconda3\python.exe" > [email protected] install C:\code\Msp_electron\node_modules\registry-js >...

Necessary when dependents are cross-platform. The alternatives are setting "os" in `package.json` (which only works for yarn, not npm), using `optionalDependencies` in dependents (which would unfortunately ignore legit build failures),...

c:\users\lamathe\appdata\local\temp\electron-packager\win32-x64\chime-win32-x64\resources\app\node_modules\registry-js\node_modules\node-addon-api\napi-inl.h(1393): error C3861: 'napi_object_freeze': identifier not found [C:\Users\lamathe\AppData\Local\Temp\electron-packager\win32-x64\Chime-win32-x64\resources\app\node_modules\registry-js\build\registry.vcxproj] c:\users\lamathe\appdata\local\temp\electron-packager\win32-x64\chime-win32-x64\resources\app\node_modules\registry-js\node_modules\node-addon-api\napi-inl.h(1399): error C3861: 'napi_object_seal': identifier not found [C:\Users\lamathe\AppData\Local\Temp\electron-packager\win32-x64\Chime-win32-x64\resources\app\node_modules\registry-js\build\registry.vcxproj] An unhandled error has occurred inside Forge: node-gyp failed to rebuild 'C:\Users\lamathe\AppData\Local\Temp\electron-packager\win32-x64\Chime-win32-x64\resources\app\node_modules\registry-js'. Error: `C:\Program...

Is there any approach to query 32-bit application data? Reference: https://docs.microsoft.com/en-us/windows/win32/sysinfo/32-bit-and-64-bit-application-data-in-the-registry

enhancement

https://github.com/desktop/registry-js/blob/master/src/main.cc#L109 This line allocates an array of fixed size, which is then populated with values on these lines: https://github.com/desktop/registry-js/blob/master/src/main.cc#L133:L149 Only REG_SZ, REG_EXPAND_SZ and REG_DWORD is supported. If an unsupported value...

It would be great to be able to subscribe to notifications via [RegNotifyChangeKeyValue](https://docs.microsoft.com/en-us/windows/desktop/api/Winreg/nf-winreg-regnotifychangekeyvalue). Example use case: switching between dark and light mode on Windows when the system setting is changed.

enhancement
help wanted

- [x] prettier for JS - [ ] cpplint for C++

help wanted

From #27 > Need to add a test for dodgy non-null-terminated data, but I'm not sure the best way to actually get this into the registry in the first place,...