Fix issue in PortableDataLocationInUse

This commit is contained in:
Jack251970 2025-09-21 16:17:41 +08:00
parent 2f52c1aa1b
commit 21a6fdd100

View file

@ -21,7 +21,8 @@ namespace Flow.Launcher.Infrastructure.UserSettings
public static bool PortableDataLocationInUse()
{
if (Directory.Exists(PortableDataPath) && !File.Exists(DeletionIndicatorFile))
if (Directory.Exists(PortableDataPath) &&
!File.Exists(Path.Combine(PortableDataPath, DeletionIndicatorFile))
return true;
return false;