Skip to content

Commit 88f307f

Browse files
Create msu file on export
1 parent 9c33ea1 commit 88f307f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MSUScripter/Services/ControlServices/MsuPcmGenerationWindowService.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ public void RunGeneration()
5656

5757
List<MsuPcmGenerationSongViewModel> toRetry = [];
5858

59+
if (!File.Exists(_model.MsuProjectViewModel.MsuPath))
60+
{
61+
using (File.Create(_model.MsuProjectViewModel.MsuPath)) { }
62+
}
63+
5964
Parallel.ForEach(_model.Rows,
6065
new ParallelOptions { MaxDegreeOfParallelism = 10, CancellationToken = _cts.Token },
6166
ParallelAction);

0 commit comments

Comments
 (0)