public static List <PlayniteScript> GetScripts() { var scripts = new List <PlayniteScript>(); foreach (var path in GetScriptFiles()) { scripts.Add(PlayniteScript.FromFile(path)); } return(scripts); }
public ScriptFunctionExport(string name, string functionName, PlayniteScript script) : base(name) { Name = name; FunctionName = functionName; Script = script; }