Getting a application directory.

Post your work in progress addons and get feedback

Post » Wed Apr 23, 2014 7:30 pm

Hi,

do yoo know a plugin to get de application directory?

I need to get the principal path in dinamic way

Tks
Rgds
B
6
S
1
Posts: 47
Reputation: 518

Post » Wed Apr 23, 2014 9:49 pm

NodeWebkit plugin with the NodeWebkit.AppFolder expression.
B
94
S
33
G
113
Posts: 5,354
Reputation: 73,269

Post » Thu Apr 24, 2014 5:37 am

Yes but you know that it pass me the following path (c:\program file\construct 2\exporters\html5\node-webkit\win32\) and no my game path.
perhaps i am make a mitake?
B
6
S
1
Posts: 47
Reputation: 518

Post » Thu Apr 24, 2014 5:47 am

When you preview it will show that, but when you export as nodeWebkit it will show the game path. As far as the path to your capx or project folder I don't think there is an expression for that. My guess is you'd have to type the path in manually when you're previewing and then change it over to the expression when you export.
B
94
S
33
G
113
Posts: 5,354
Reputation: 73,269

Post » Fri Apr 25, 2014 4:48 pm

Thanks your reply,

You are sure?

I am affred

Regards
B
6
S
1
Posts: 47
Reputation: 518


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests