A simple cross-operating system application for displaying current and upcoming weather conditions. Powered by Open Weather API.
npm i
Create a .env file in the repository root with your open weather api key, as well as gps location coordinates
ELECTRON_WEBPACK_APP_OPEN_WEATHER_API_KEY=examplekey
ELECTRON_WEBPACK_APP_LATITUDE=43.1
ELECTRON_WEBPACK_APP_LONGITUDE=-65.21
Run webpack build (or vs code task npm: build
)
npm run build
Execute electron with built TS (or vs launch Debug Main Process
)
npx electron ./dist/main/main.js