Add long path support
This commit is contained in:
parent
b710075544
commit
a3844a3535
12 changed files with 160 additions and 57 deletions
|
|
@ -38,7 +38,7 @@ namespace LibationWinForms
|
|||
{
|
||||
// liberated: open explorer to file
|
||||
var filePath = AudibleFileStorage.Audio.GetPath(e.Book.AudibleProductId);
|
||||
if (!Go.To.File(filePath))
|
||||
if (!Go.To.File(filePath?.ShortPathName))
|
||||
{
|
||||
var suffix = string.IsNullOrWhiteSpace(filePath) ? "" : $":\r\n{filePath}";
|
||||
MessageBox.Show($"File not found" + suffix);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue