Bug fix: First click on Liberated icon shows 'File not found: <temppath>'. Second click opens correct final path. #164
This commit is contained in:
parent
b4015030cf
commit
5059333b38
@ -3,7 +3,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Version>6.5.3.1</Version>
|
||||
<Version>6.5.4.1</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@ -47,7 +47,7 @@ namespace LibationFileManager
|
||||
{
|
||||
// primary lookup
|
||||
var cachedFile = FilePathCache.GetFirstPath(productId, FileType);
|
||||
if (cachedFile != null)
|
||||
if (cachedFile is not null && File.Exists(cachedFile))
|
||||
return cachedFile;
|
||||
|
||||
// secondary lookup attempt
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user