ackwell / BrowserHost

Dalamud plugin for in-game browser rendering. Think OverlayPlugin, but it's in the game itself.
GNU Lesser General Public License v3.0
9 stars 12 forks source link

Add location support for LPL #6

Closed ackwell closed 3 years ago

ackwell commented 3 years ago

needed so lpl can set location when loading outside plugin dir.

note from cara:

add

public string Location { get; private set; } = Assembly.GetExecutingAssembly().Location;
private void SetLocation(string path) {
   Location = path
}

and then any time you want to get the plugin directory use Location LivePluginLoader will call the SetLocation method when loading the plugin