-
Notifications
You must be signed in to change notification settings - Fork 1k
SourceCode is not execluded from Binary #190
Comments
I've tested a few more scenarios and it seems the sourcecode is included if you use a package.json or '.' as parameter. Sourcecode Exclude seems to work, if you start packaging with a .js file... |
What do you mean "If you open the executable the sourcecode is still included" ? |
I pack the executable. To check, if the sourcecode is removed i open the .exe File using a NotePad Editor. In case of package.json to compile, the sourcefiles are still visible. If i compile specifying an .js file, everything is fine. If you activate Debug mode you can read in the output the file is included WITH SOURCE in the first case (package.json) and WITHOUT SOURCE using a .js file |
So, what is the problem? Json does not have any algorithms/logic. So, i think it is ok to disclose json. Right? |
Ok, i will make a sample. SetupYou have a file (main.js) with the following content
and a package.js with this content:
Inside the package.json there is a Test1. Using main.js as parameter
Everything is fine, the Text 2. Using . as parameter (witch means, get config from package.json)
Wrong: cause the text Result
|
Oh, now i understand. Remove |
Ok, this makes sences, cause the license does not allow remove of sourcecode.. Thx |
is it necessary to remove variable license in package.json? I mean just want to change the value without deleting the key "license" |
Hi,
at first, very nice work. Wonderfull,
Ive tried a minimal test (i think so)
main.js:
package.json
an compiled using
If you open the executable the sourcecode is still included...
If tried different scenarios.
Bug/ or my Fault :(
The text was updated successfully, but these errors were encountered: