SHA256
Fix Notification System
This commit is contained in:
2 files changed
+507
-118
No files matched your search
@@ -475,7 +475,7 @@ namespace ADOFAIRenderer.Core
|
||||
var renderFPS = Configuration.RenderFPS;
|
||||
var videoFPS = Configuration.VideoFPS;
|
||||
|
||||
var selectedCodec = Configuration.VideoConfig?.Codec ?? Codec.H264;
|
||||
var selectedCodec = Configuration.VideoConfig.Codec;
|
||||
var ext = GetOutputExtension(selectedCodec);
|
||||
|
||||
var startTime = DateTime.Now;
|
||||
@@ -493,7 +493,7 @@ namespace ADOFAIRenderer.Core
|
||||
Height = Configuration.RenderHeight,
|
||||
FPS = effectiveVideoFps,
|
||||
Codec = selectedCodec,
|
||||
Mode = Configuration.VideoConfig!.RateControlMode,
|
||||
Mode = Configuration.VideoConfig.RateControlMode,
|
||||
QualityValue = Configuration.VideoConfig.QP,
|
||||
TargetBitrate = Configuration.VideoConfig.Bitrate,
|
||||
MaxBitrate = Configuration.VideoConfig.MaxBitrate,
|
||||
@@ -754,11 +754,11 @@ namespace ADOFAIRenderer.Core
|
||||
private IEnumerator StopRenderCoroutine()
|
||||
{
|
||||
yield return new WaitUntil(() => endSuccessful);
|
||||
var file = !string.IsNullOrEmpty(_currentOutPath) ? Path.GetFileName(_currentOutPath) : "동영상";
|
||||
var fileString = !string.IsNullOrEmpty(_currentOutPath) ? $"'{Path.GetFileName(_currentOutPath)}'이(가)" : "동영상이";
|
||||
if (!Application.isFocused)
|
||||
{
|
||||
string renderFolder = Path.Combine(MelonEnvironment.GameRootDirectory, "Render");
|
||||
OSNotification.Show("렌더링 완료!", $"'{file}'이(가) 성공적으로 저장되었습니다.", renderFolder);
|
||||
OSNotification.Show("렌더링 완료!", $"{fileString} 성공적으로 저장되었습니다.", renderFolder);
|
||||
}
|
||||
EndRender();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user