-
Notifications
You must be signed in to change notification settings - Fork 107
Description
Currently Web2Exe simply grabs everything in the project dir, including my .git dir, my project data from my IDE and some old data files that are in the project folder for reference.
This is quite unnecessary of course since a lot of this stuff is useless to the app. It'd be great if in say Export Settings there was an input field where I could specify a list of files/dirs separated by commas, along with a checkbox to toggle whitelist/blacklist (Should probably default to blacklist so the app works normally if the field is empty).
Another actual issue that stems from this (other than including unnecessary files) is, I use the path to the exe provided by nw.js to determine where the app is running from, to store data relative to the app, But in my dev environment the path to the exe is not in the project dir, it's to my central nw.js executable, and I don't want the data files to appear there. I could fix this by having a file in my project and check for it, and if it's present assume it's running from the IDE and use a specific path instead of the path relative to the exe. This would work fine if I could tell Web2Exe to not include this file when exporting.