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

Get help using Construct 2

Post » Fri Aug 19, 2016 5:04 pm

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.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,058

Post » Mon Aug 22, 2016 2:40 pm

Why are you opening executable files in your browser?
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830

Post » Mon Aug 22, 2016 6:38 pm

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.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,058

Post » Wed Aug 24, 2016 12:36 am

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.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, Jackriduk, Username05 and 22 guests