- .NET 8 WPF app with full MVVM architecture - One-click boost: CPU, RAM, GPU, network, services, timer resolution - Real-time system monitor (LibreHardwareMonitor) - Auto game detection (30+ games) - RAM optimizer with kernel-level cleanup - Network optimizer (TCP registry tweaks) - Service manager, process manager, shader cache cleaner - Desktop widget overlay - Debug log viewer - Custom dark gaming theme with trans pride colors - 84 unit tests (xUnit) - Inno Setup installer script - Landing page website
34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
using System.IO;
|
|
|
|
namespace SpdUp.Models;
|
|
|
|
/// <summary>
|
|
/// Represents a detected or manually-added game.
|
|
/// </summary>
|
|
public sealed class GameEntry
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public string ExecutablePath { get; set; } = string.Empty;
|
|
public string ProcessName { get; set; } = string.Empty;
|
|
public string LauncherSource { get; set; } = "Manual";
|
|
public string? IconPath { get; set; }
|
|
public bool AutoBoost { get; set; } = true;
|
|
public BoostProfile Profile { get; set; } = new();
|
|
|
|
/// <summary>Derive the process name from the executable path.</summary>
|
|
public static string ProcessNameFromPath(string exePath)
|
|
=> Path.GetFileNameWithoutExtension(exePath);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Per-game boost profile overrides.
|
|
/// </summary>
|
|
public sealed class BoostProfile
|
|
{
|
|
public bool CleanRam { get; set; } = true;
|
|
public bool SetHighPriority { get; set; } = true;
|
|
public bool ReduceTimerResolution { get; set; } = true;
|
|
public bool StopServices { get; set; } = true;
|
|
public bool OptimizeNetwork { get; set; } = false;
|
|
}
|