mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use Path.IsPathFullyQualified for absolute path check
Replaced Path.IsPathRooted with Path.IsPathFullyQualified to more accurately determine if a path is truly absolute, preventing misclassification of certain relative paths.
This commit is contained in:
parent
d62fd05599
commit
04a56b556b
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
|||
return path;
|
||||
|
||||
// If already absolute, return as-is
|
||||
if (Path.IsPathRooted(path))
|
||||
if (Path.IsPathFullyQualified(path))
|
||||
return path;
|
||||
|
||||
// Resolve relative to ProgramDirectory, handling invalid path formats gracefully
|
||||
|
|
|
|||
Loading…
Reference in a new issue