Add Notification When Render End

This commit is contained in:
copecone committed 2026-06-26 11:20:55 +09:00
1 parent 18fe547603
commit 315c818717
2 files changed
+195

No files matched your search

+6
View File
@@ -720,6 +720,12 @@ namespace ADOFAIRenderer.Core
private IEnumerator StopRenderCoroutine()
{
yield return new WaitUntil(() => endSuccessful);
var file = !string.IsNullOrEmpty(_currentOutPath) ? Path.GetFileName(_currentOutPath) : "동영상";
if (!Application.isFocused)
{
string renderFolder = Path.Combine(MelonEnvironment.GameRootDirectory, "Render");
OSNotification.Show("렌더링 완료!", $"'{file}'이(가) 성공적으로 저장되었습니다.", renderFolder);
}
EndRender();
}