andrewbanchich / shreddit

Delete your Reddit data.
MIT License
247 stars 11 forks source link

Shreddit.env in current directory does nothing #54

Closed mhluska closed 1 year ago

mhluska commented 1 year ago

When I run ./shreddit-mac and have a shreddit.env file right next to the executable, it doesn't use it for environment variables and I get the command's help output.

If I first do export $(cat shreddit.env | xargs) to get the env variables exported, then ./shreddit-mac works.

andrewbanchich commented 1 year ago

Can you try 0.7.3 and tell me what the first log says?

RFBomb commented 1 year ago

for what its worth, I had same issue on windows today. I had a bad setting in my file, so it appeared to just throw it out, and gave me the help output. Resolving the env file allowed it to run