sindresorhus / get-windows

Get metadata about the active window and open windows (title, id, bounds, owner, etc)
MIT License
797 stars 167 forks source link

active-win throw javascript error #105

Open bharat303 opened 3 years ago

bharat303 commented 3 years ago

Screenshot 2021-04-01 at 3 19 17 PM

I have used this active-win npm for tracking current window of user working in my project. Build was generated successfully but when I install that .dmg file and application is open then every time it will throw JavaScript errors that shown in attach document

sindresorhus commented 3 years ago

Make sure the main binary exists at the path in the error message.

bharat303 commented 3 years ago

I have checked and verify that path is exits. getting uncaught Exception when executing this command

bharat303 commented 3 years ago

I have also give permission require to that file that path mention in error but still that error is coming.....

sindresorhus commented 3 years ago

I have tried to make the Swift code less likely to crash. Can you try the latest version? https://github.com/sindresorhus/active-win/releases/tag/v7.0.0

ahmedmukhtar1133 commented 3 years ago

@bharat303 Have you fixed the issue? If yes then please let me know how did you fix it?