Skip to content

Commit

Permalink
缓存数据放到临时目录时,需要提前创建目录
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Jul 29, 2024
1 parent c396a48 commit e764720
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions XCode/Cache/DataCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ private static DataCache Load()
{
try
{
file.EnsureDirectory(true);
File.Move(old, file);
}
catch
Expand Down

0 comments on commit e764720

Please sign in to comment.