diff --git a/mystic/nodespy.pas b/mystic/nodespy.pas index 2632516..3f4002c 100644 --- a/mystic/nodespy.pas +++ b/mystic/nodespy.pas @@ -126,9 +126,13 @@ Begin Screen := TConsoleScrollBack.Create(True); Keyboard := TInput.Create; + GetDIR (0, XferPath); + INI := TIniReader.Create('nodespy.ini'); - AutoSnoop := INI.ReadString('General', 'autosnoop', '0') = '1'; + AutoSnoop := INI.ReadString('General', 'autosnoop', '0') = '1'; + XferPath := INI.ReadString('General', 'transfer_dir', DirSlash(XferPath)); + AutoZmodem := INI.ReadBoolean('General;', 'auto_zmodem', True); INI.Free; diff --git a/mystic/nodespy_common.pas b/mystic/nodespy_common.pas index 1e6ca04..bd0e2ed 100644 --- a/mystic/nodespy_common.pas +++ b/mystic/nodespy_common.pas @@ -26,6 +26,8 @@ Var Term : TTermAnsi; ConfigFile : File of RecConfig; Config : RecConfig; + XferPath : String; + AutoZmodem : Boolean; Implementation