DiscordWebHook as updateLogDelegate

Add: dwhURL dwhEnabled settings
New: status messages
This commit is contained in:
slothdpal
2024-05-21 21:31:26 +03:00
parent 38ec633efb
commit 54ded84224
12 changed files with 443 additions and 57 deletions

View File

@@ -118,5 +118,29 @@ namespace RelaunchProcess.Properties {
this["timer"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string dwhURL {
get {
return ((string)(this["dwhURL"]));
}
set {
this["dwhURL"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool dwhEnabled {
get {
return ((bool)(this["dwhEnabled"]));
}
set {
this["dwhEnabled"] = value;
}
}
}
}

View File

@@ -26,5 +26,11 @@
<Setting Name="timer" Type="System.Decimal" Scope="User">
<Value Profile="(Default)">30</Value>
</Setting>
<Setting Name="dwhURL" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="dwhEnabled" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>