mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-05 06:15:26 +00:00
CommonHelpers: Move RTSS to OSDHelpers
This commit is contained in:
parent
8f31e4ed00
commit
e1a4073a7c
6 changed files with 134 additions and 134 deletions
|
|
@ -71,9 +71,9 @@ namespace PowerControl
|
|||
return;
|
||||
}
|
||||
|
||||
RTSS.Applications.Instance.Refresh();
|
||||
OSDHelpers.Applications.Instance.Refresh();
|
||||
|
||||
if (RTSS.Applications.Instance.FindForeground(out var processId, out var processName))
|
||||
if (OSDHelpers.Applications.Instance.FindForeground(out var processId, out var processName))
|
||||
{
|
||||
if (!BringUpProcess(processId))
|
||||
AddProcess(processId, processName);
|
||||
|
|
@ -81,7 +81,7 @@ namespace PowerControl
|
|||
|
||||
foreach (var process in watchedProcesses)
|
||||
{
|
||||
if (RTSS.Applications.Instance.IsRunning(process.Key))
|
||||
if (OSDHelpers.Applications.Instance.IsRunning(process.Key))
|
||||
continue;
|
||||
RemoveProcess(process.Key);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue