HelloZeroNet / Plugin-PeerMessage

26 stars 12 forks source link

Where's the "Installed" Plugin's Source Code? #8

Closed d14na closed 4 years ago

d14na commented 4 years ago

Quick question! I'm working with the PluginManager recently introduced by @HelloZeroNet. I can install and test PeerMessage just fine (as I was able to do by cloning the source directly into /plugins). However, after INSTALLING using the manager, I can't find the source code anywhere; especially NOT in /plugins folder where I would expect it to be COPIED??

I imagine UiPluginManager is putting the source SOMEWHERE. Again, the plugin works fine, and gets listed under plugins when requesting serverInfo. (NOTE: it shows up last, NOT in alphabetical order, so being appended??)

I've seen mention of == "builtin"??, but don't know what that's for.

One thing that I suspect could be happening, is that UiPluginManager is storing a reference to the zite where the plugin code was sourced from and then executes from there?? doesn't seem very secure to me, so that's a long shot.

@imachug any help/insight would much appreciated.

purplesyringa commented 4 years ago

data/__plugins__/siteaddress/path/to/plugin/within/site