c2addon files installation path

For developers using the Construct 2 Javascript SDK

Post » Sun Jun 16, 2013 7:09 am

I just noticed that, when installing behavior via .c2addon files, it installs to

C:\Users\UserName\AppData\Roaming\Construct2\behaviors

instead to the usual

C:\Program Files\Construct 2\exporters\html5\behaviors

My question is, is it intentional? Because it kinda breaks the behaviors and plugin collection into two path and I'm not sure which one is being used anymore.
B
36
S
6
G
2
Posts: 190
Reputation: 4,223

Post » Sun Jun 16, 2013 10:24 pm

It's by design. See the r120 release notes. The editor always tries to copy addons to both folders, but often doesn't have permission to write to the install directory (since Program Files tends to require admin permission to write to). The editor always loads from the install directory first, then looks in AppData.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Post » Mon Jun 17, 2013 4:09 am

I see, thanks for the clarification Ashley. I missed that R120 release notes...
B
36
S
6
G
2
Posts: 190
Reputation: 4,223

Post » Thu Sep 19, 2013 4:24 pm

Hate to Necro a post, but can I just copy the c2addon file to the C2 installation folder, and not copy it to AppPath as well? I use C2 from a flash drive, and want to just keep everything local to that directory if possible... Or does it actual HAVE to exist in both directories?
B
14
S
6
G
1
Posts: 143
Reputation: 1,795


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests