public string SaveFile(string filter, bool promptOverwrite)
 {
     return(Invoke(() => SystemDialogs.SaveFile(PlayniteWindows.CurrentWindow, filter, promptOverwrite)));
 }
 public string SaveFile(string filter)
 {
     return(Invoke(() => SystemDialogs.SaveFile(PlayniteWindows.CurrentWindow, filter)));
 }