mirror of
https://github.com/psforever/GameLauncher.git
synced 2026-03-06 05:50:23 +00:00
Change newlines to Environment.NewLine
This commit is contained in:
parent
0cfd4f0b9d
commit
3cb7989b92
1 changed files with 4 additions and 4 deletions
|
|
@ -31,16 +31,16 @@ namespace PSLauncher
|
|||
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
|
||||
string version = fvi.FileVersion;
|
||||
|
||||
string contents = "# FILE AUTOGENERATED BY PSForever Launcher " + version + "\n";
|
||||
contents += "[network]\n";
|
||||
string contents = "# FILE AUTOGENERATED BY PSForever Launcher " + version + Environment.NewLine;
|
||||
contents += "[network]" + Environment.NewLine;
|
||||
|
||||
for(int i = 0; i < entries.Count; i++)
|
||||
{
|
||||
ServerEntry entry = entries[i];
|
||||
|
||||
contents += "# Name: " + entry.name + "\n";
|
||||
contents += "# Name: " + entry.name + Environment.NewLine;
|
||||
// we only want login0 to be used, but have the rest written there for manual editing as well
|
||||
contents += String.Format("{3}login{0}={1}:{2}\n", i, entry.hostname, entry.port,
|
||||
contents += String.Format("{3}login{0}={1}:{2}" + Environment.NewLine, i, entry.hostname, entry.port,
|
||||
i == 0 ? "" : "#");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue