Code Monkey home page Code Monkey logo

Comments (6)

mlmdflr avatar mlmdflr commented on August 16, 2024 1

You need to add the following configuration inside rollup.config.ts in the .electron-vite folder
image

from electron-vite-template.

mlmdflr avatar mlmdflr commented on August 16, 2024 1

@mlmdflr Wow, that's a simple solution! If you don't mind me asking, what's the reason why the library has to be listed here?
I'm asking, because to fix the issue we tried another registry library and that worked without adding it to this list. So, what's the criteria for a library to have to be listed here?

What's the name of the other library you're using?

https://github.com/fresc81/node-winreg

My English is not very good and I can only explain this with the help of translation tools
First of all, the code implementation of these two libraries is not the same, node-winreg is using some windows command line to access the registry through the child_process module.
native-reg is a bit more complicated, I don't know much about c++, but I know that native-reg calls win32Api, which is essentially a native module.
This scaffolding uses rollup to package the code of the main process, you need to specify the external dependencies, otherwise there will be a series of problems such as paths.
The implementation of node-winreg is simple, it only uses a js file, it doesn't need any special processing, you can take a look at the source code, it's a good library.

from electron-vite-template.

KSneijders avatar KSneijders commented on August 16, 2024

@mlmdflr Wow, that's a simple solution! If you don't mind me asking, what's the reason why the library has to be listed here?

I'm asking, because to fix the issue we tried another registry library and that worked without adding it to this list. So, what's the criteria for a library to have to be listed here?

from electron-vite-template.

mlmdflr avatar mlmdflr commented on August 16, 2024

@mlmdflr Wow, that's a simple solution! If you don't mind me asking, what's the reason why the library has to be listed here?

I'm asking, because to fix the issue we tried another registry library and that worked without adding it to this list. So, what's the criteria for a library to have to be listed here?

What's the name of the other library you're using?

from electron-vite-template.

KSneijders avatar KSneijders commented on August 16, 2024

@mlmdflr Wow, that's a simple solution! If you don't mind me asking, what's the reason why the library has to be listed here?
I'm asking, because to fix the issue we tried another registry library and that worked without adding it to this list. So, what's the criteria for a library to have to be listed here?

What's the name of the other library you're using?

https://github.com/fresc81/node-winreg

from electron-vite-template.

KSneijders avatar KSneijders commented on August 16, 2024

@mlmdflr Aah, that makes sense.

I'll do some more reading on it. Thank you for taking a look for me! ❤️

from electron-vite-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.