mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 23:03:59 +00:00
PowerControl: Allow to set Autostart Profile Settings
This commit is contained in:
parent
acd33f2cb2
commit
cf0de0ad8f
4 changed files with 51 additions and 4 deletions
|
|
@ -26,10 +26,10 @@ namespace PowerControl.Helper
|
|||
|
||||
public String ProfileName { get; }
|
||||
|
||||
public ProfileSettings(string profileName) : base("PersistentSettings")
|
||||
public ProfileSettings(string prefix, string profileName) : base("PersistentSettings")
|
||||
{
|
||||
this.ProfileName = profileName;
|
||||
this.ConfigFile = Path.Combine(UserProfilesPath, String.Format("PowerControl.Process.{0}.ini", profileName));
|
||||
this.ConfigFile = Path.Combine(UserProfilesPath, String.Format("{0}.{1}.ini", prefix, profileName));
|
||||
|
||||
this.SettingChanging += delegate { };
|
||||
this.SettingChanged += delegate { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue