Page 1 of 1

How do I open/save an executable file in the project files

PostPosted: Fri Aug 19, 2016 5:04 pm
by RBuster
I created a main menu with buttons that to be used to open/save executable files that are in the Project Files. For this, I'm using the browser action: invoke download. It is working on the C2 preview mode but when I access through the web, the browser shows the file's code (ASCII mode?) What can be wrong?

Thanks in advance.

Re: How do I open/save an executable file in the project fil

PostPosted: Mon Aug 22, 2016 2:40 pm
by gumshoe2029
Why are you opening executable files in your browser?

Re: How do I open/save an executable file in the project fil

PostPosted: Mon Aug 22, 2016 6:38 pm
by RBuster
gumshoe2029 wrote:Why are you opening executable files in your browser?


It's an offline project. Just a big menu with buttons as an index that open several games in .exe format. I used the browser object because I usually use it to open files from the C2.

Re: How do I open/save an executable file in the project fil

PostPosted: Wed Aug 24, 2016 12:36 am
by gumshoe2029
Try exporting with nw.js. That should create an executable. Beyond that my knowledge ends though. Browser security exists to prevent exactly what you are trying to do though.