[SOLVED] Dotenv doesn't work after build


#1

I’m using an .env file within dotenv to load some keys and server URLs. It works great in development (electron .) on both Win and Mac, but after a electron-builder build it works only on Win. On Mac I can’t get the environment variables defined in .env. What I’m missing? It seams that .env is excluded from Mac builds or something like that.


[SOLVED] External resources and opening external URLs stops working after build
#2

It seams that MacOSX GUI apps aren’t able to handle environment variables: https://github.com/ersiner/osx-env-sync#introduction