Open file/folder is now cross platform

This commit is contained in:
Robert McRackan 2022-08-02 12:56:52 -04:00
parent 0df4dfdef5
commit a47866b6f7
8 changed files with 7 additions and 34 deletions

View file

@ -36,7 +36,7 @@ namespace LibationAvalonia.Views
// liberated: open explorer to file
var filePath = AudibleFileStorage.Audio.GetPath(libraryBook.Book.AudibleProductId);
if (!App.GoToFile(filePath?.ShortPathName))
if (!Go.To.File(filePath?.ShortPathName))
{
var suffix = string.IsNullOrWhiteSpace(filePath) ? "" : $":\r\n{filePath}";
await MessageBox.Show($"File not found" + suffix);