Rename AdvancedConfig.Extension to FileExtension

This commit is contained in:
copecone committed 2026-08-18 11:22:43 +09:00
1 parent c3de49fff5
commit 9b432eae8f
3 files changed
+18 -16

No files matched your search

+5 -3
View File
@@ -502,10 +502,12 @@ namespace ADOFAIRenderer.Core
var videoFPS = Configuration.VideoFPS;
var startTime = DateTime.Now;
var fileName = startTime.ToString("yyyy-MM-dd HH-mm-ss") + $".{Configuration.AdvancedConfig.Extension}";
_currentOutPath = Path.Combine(MelonEnvironment.GameRootDirectory, "Render", fileName);
if (RenderContext.OutputPath != null) _currentOutPath = RenderContext.OutputPath;
else {
var fileName = startTime.ToString("yyyy-MM-dd HH-mm-ss") +
$".{Configuration.AdvancedConfig.FileExtension}";
_currentOutPath = Path.Combine(MelonEnvironment.GameRootDirectory, "Render", fileName);
}
FFmpegNativeEncoder? videoFFmpeg = null;
try