Skip to content

Commit

Permalink
优化阻止系统休眠的相关逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
CHKZL committed Sep 6, 2024
1 parent 7e1c981 commit fb1e1c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Desktop/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void Init()
//初始化VLC播放器组件
LibVLCSharp.Shared.Core.Initialize("./plugins/vlc");
//初始化系统休眠设置
if (Config.Core_RunConfig._SystemCardReminder)
if (Config.Core_RunConfig._PreventWindowsHibernation)
{
WindowsAPI.CloseWindowsHibernation();
}
Expand Down

0 comments on commit fb1e1c4

Please sign in to comment.