Comments (3)
If you install this Node.js package it gets compiled on your local system. Therefore the output (binary) is created for your particular system. You can forge it into your ElectronJs application like so: https://stackoverflow.com/questions/38361996/how-can-i-bundle-a-precompiled-binary-with-electron/
But it will only work on systems like yours and not cross platform.
from sweph.
i have not tested it with mac or electron but it should work
from sweph.
to close this issue, Electron supports native node addons as long as they are compiled properly for Electron, take a look at their guide: https://www.electronjs.org/docs/latest/tutorial/using-native-node-modules
Im gonna go ahead and close this, let me know if there's any issues!
from sweph.
Related Issues (18)
- Need help with Angular integration HOT 2
- Wrong info in utc_time_zone() HOT 6
- Wrong sunrise time for negative timezones HOT 9
- Please update ephemeris download links HOT 1
- new feature HOT 1
- Issue in Electron HOT 2
- unable to install on Windows 11 HOT 2
- Astrodienst Dropbox folder is too big to be downloaded HOT 1
- Planet position different result from Astro.com birth chart HOT 8
- sweph.rise_trans returns incorrect value HOT 3
- SwissEph file 'sepl_18.se1' not found in PATH HOT 2
- Problem when using constants as array indices in TypeScript HOT 10
- A simple example how to build an Astrological Chart HOT 3
- react native compatibility HOT 3
- Error in house_name() method HOT 3
- Please help me out with deployment issue? HOT 16
- Unable to run on Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sweph.