1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2026-02-24 08:32:48 +00:00

Added customization support.

This commit is contained in:
Ylian Saint-Hilaire
2021-02-23 11:34:57 -08:00
parent ec18c4813b
commit 3c8545e957
5 changed files with 34 additions and 6 deletions

View File

@@ -26,6 +26,14 @@ namespace MeshCentralRouter
this.size = size;
this.args = args;
this.serverTlsCertHash = serverhash;
try
{
string[] lines = File.ReadAllLines(@"customization\customize.txt");
if (lines[4] != "") { this.Text = lines[4]; }
if (lines[5] != "") { mainLabel.Text = lines[5]; }
}
catch (Exception) { }
}
private void okButton_Click(object sender, EventArgs e)