Probably pretty hacky. Environment.CurrentDirectory doesn't seem to be reliable in dev vs prod. In dev it correctly matches the LANCommander.PlaynitePlugin.dll's location. In prod it is the main directory of Playnite. |
||
|---|---|---|
| .. | ||
| PowerShellArgument.cs | ||
| PowerShellScript.cs | ||
| PowerShellVariable.cs | ||