Skip to content

Commit cd255d3

Browse files
committed
fix oss path error
1 parent a049600 commit cd255d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ViewModels/OSSPacketViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private async Task HashAction()
134134
if (file is not null)
135135
{
136136
Sha256HashAlgorithm hashAlgorithm = new();
137-
CurrnetConfig.Hash = hashAlgorithm.ComputeHash(file.Path.AbsolutePath);
137+
CurrnetConfig.Hash = hashAlgorithm.ComputeHash(file.Path.LocalPath);
138138
}
139139
}
140140

0 commit comments

Comments
 (0)