diff --git a/PSLauncher/ClientINI.cs b/PSLauncher/ClientINI.cs index b5c096d..11c97eb 100644 --- a/PSLauncher/ClientINI.cs +++ b/PSLauncher/ClientINI.cs @@ -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 ? "" : "#"); }