Open file/folder is now cross platform
This commit is contained in:
parent
0df4dfdef5
commit
a47866b6f7
8 changed files with 7 additions and 34 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue