You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created regedit-rs which is only for Windows. However, when it's used with cross-platform apps, the import results in an error because the .node file does not exist (for example, when the app is launched on Linux).
I had this issue in one of my own projects and recently an issue was reported on the regedit-rs repo.
And I wonder if there is a better way to manage specific platform native libraries with cross-platform apps. 🤔
I think i can add all platform in the native lib and return function that's throws error when its not the right platform, but idk if this is the right way to do that 🤔
The text was updated successfully, but these errors were encountered:
Hi,
I've created regedit-rs which is only for Windows. However, when it's used with cross-platform apps, the import results in an error because the .node file does not exist (for example, when the app is launched on Linux).
I had this issue in one of my own projects and recently an issue was reported on the regedit-rs repo.
This is how I deal with this issue for now: Zagrios/regedit-rs#1.
And I wonder if there is a better way to manage specific platform native libraries with cross-platform apps. 🤔
I think i can add all platform in the native lib and return function that's throws error when its not the right platform, but idk if this is the right way to do that 🤔
The text was updated successfully, but these errors were encountered: