Show OS Notification Regardless of Focusing State

This commit is contained in:
copecone committed 2026-08-08 19:34:04 +09:00
1 parent dda62e5402
commit 2f1062c9d6
1 file changed
+3 -4
+3 -4
View File
@@ -755,11 +755,10 @@ namespace ADOFAIRenderer.Core
{ {
yield return new WaitUntil(() => endSuccessful); yield return new WaitUntil(() => endSuccessful);
var fileString = !string.IsNullOrEmpty(_currentOutPath) ? $"'{Path.GetFileName(_currentOutPath)}'이(가)" : "동영상이"; var fileString = !string.IsNullOrEmpty(_currentOutPath) ? $"'{Path.GetFileName(_currentOutPath)}'이(가)" : "동영상이";
if (!Application.isFocused)
{ var renderFolder = Path.Combine(MelonEnvironment.GameRootDirectory, "Render");
string renderFolder = Path.Combine(MelonEnvironment.GameRootDirectory, "Render");
OSNotification.Show("렌더링 완료!", $"{fileString} 성공적으로 저장되었습니다.", renderFolder); OSNotification.Show("렌더링 완료!", $"{fileString} 성공적으로 저장되었습니다.", renderFolder);
}
EndRender(); EndRender();
} }