SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Show OS Notification Regardless of Focusing State
This commit is contained in:
1 file changed
+4
-5
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user