Skip to content

Commit 41f9174

Browse files
committed
[Sophon] Ensure directory creation on target file
1 parent 4f44fd0 commit 41f9174

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CollapseLauncher/Classes/InstallManagement/BaseClass/InstallManagerBase.Sophon.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ await Task.Run(() =>
428428
// Get the original file path, ensure the existing file is not read only,
429429
// then move the temp file to the original file path
430430
var origFilePath = new FileInfo(assetFullPath)
431+
.EnsureCreationOfDirectory()
431432
.EnsureNoReadOnly();
432433

433434
// Move the thing

0 commit comments

Comments
 (0)