Pryaxis / TSAPI

🛠🌳 The TShock Scaffold API enables developers to build plugins that hook directly into the Terraria game engine.
http://tshock.co/
GNU General Public License v3.0
109 stars 66 forks source link

Change base path for plugins to use AppContext.BaseDirectory #220

Closed SignatureBeef closed 2 years ago

SignatureBeef commented 2 years ago

See https://github.com/Pryaxis/TShock/issues/2674 If someone uses a startup script from outside the assembly directory, this will allow plugins to load.

Note: there is still the issue of directories, logs, and plugins still creating in the current directory by default. that is an existing issue. this is a follow up after the above issue, which if used in such a way, plugins wont load.