Skip to content

Commit

Permalink
Changing lich default locations to account for lich5
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR committed Sep 10, 2023
1 parent 06d16cd commit 77d0101
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Lists/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public class Config

public string sConnectString = "FE:GENIE /VERSION:" + My.MyProject.Application.Info.Version.ToString() + " /P:WIN_XP /XML";
public int[] iPickerColors = new int[17];
public string RubyPath { get; set; } = @"C:\ruby4lich\bin\ruby.exe";
public string RubyPath { get; set; } = @"C:\ruby4lich5\bin\ruby.exe";
public string CmdPath { get; set; } = @"C:\Windows\System32\cmd.exe";
public string LichPath { get; set; } = @"c:\ruby4lich\lich\lich.rbw";
public string LichPath { get; set; } = @"c:\ruby4lich5\lich5\lich.rbw";
public string LichArguments { get; set; } = @"--genie --dragonrealms";
public string LichServer { get; set; } = "localhost";
public int LichPort { get; set; } = 11024;
Expand All @@ -68,7 +68,7 @@ public class Config
public string ScriptExtension { get; set; } = "cmd";

public string ScriptRepo { get; set; } = string.Empty;

public int AutoMapperAlpha
{
get
Expand Down Expand Up @@ -372,7 +372,7 @@ public bool Save(string sFileName = "settings.cfg")
oStreamWriter.WriteLine("#config {spelltimer} {" + bShowSpellTimer + "}");
oStreamWriter.WriteLine("#config {autolog} {" + bAutoLog + "}");
oStreamWriter.WriteLine("#config {automapper} {" + bAutoMapper + "}");
oStreamWriter.WriteLine("#config {automapperalpha} {" + AutoMapperAlpha + "}");
oStreamWriter.WriteLine("#config {automapperalpha} {" + AutoMapperAlpha + "}");
oStreamWriter.WriteLine("#config {editor} {" + sEditor + "}");
oStreamWriter.WriteLine("#config {prompt} {" + sPrompt + "}");
oStreamWriter.WriteLine("#config {promptbreak} {" + PromptBreak + "}");
Expand Down Expand Up @@ -463,8 +463,8 @@ public bool Load(string sFileName = "settings.cfg")

public List<string> SetSetting(string sKey, string sValue = "", bool bShowException = true)
{
try
{
try
{
List<string> messages = new List<string>();
if (sKey.Length > 0)
{
Expand Down Expand Up @@ -790,7 +790,7 @@ public List<string> SetSetting(string sKey, string sValue = "", bool bShowExcept
ScriptDir = sValue;
break;
}

case "scriptrepo":
{

Expand Down

0 comments on commit 77d0101

Please sign in to comment.