Sunday 24 September 2017

Electron Directories Different in Dev/Release

Im proud to say I've finally build a full-scale prototype for an Electron app. Woo.Sadly, I'm stuck with this annoying issue. When in dev, I can refer to the root directory like so: ./public/hbs/Template.hbs. When in live, public is moved to resources/app/public`. Is there really no way to automate that? Do I have to change those directories before build?

Submitted September 24, 2017 at 04:59PM by Crowesco

No comments:

Post a Comment