[ttssh2-commit] [9730] インストーラで TERATERM.INI の FileDir にインストール先フォルダを書き込むのをやめる

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 2月 7日 (月) 23:34:51 JST


Revision: 9730
          https://osdn.net/projects/ttssh2/scm/svn/commits/9730
Author:   nmaya
Date:     2022-02-07 23:34:51 +0900 (Mon, 07 Feb 2022)
Log Message:
-----------
インストーラで TERATERM.INI の FileDir にインストール先フォルダを書き込むのをやめる

FileDir はファイル送信・受信に使うディレクトリのため、インストール先フォルダを使うのは不便
そのため r6749 で、設定値が "" のときはダウンロードフォルダを使うようになっている
これにあわせてインストーラでの書き込みもやめる

Revision Links:
--------------
    https://osdn.net/projects/ttssh2/scm/svn/commits/6749

Modified Paths:
--------------
    trunk/installer/teraterm.iss

-------------- next part --------------
Modified: trunk/installer/teraterm.iss
===================================================================
--- trunk/installer/teraterm.iss	2022-02-06 13:57:11 UTC (rev 9729)
+++ trunk/installer/teraterm.iss	2022-02-07 14:34:51 UTC (rev 9730)
@@ -482,7 +482,6 @@
   CodePage      : integer;
   VTFont        : String;
   TEKFont       : String;
-  FileDir       : String;
   TCPPort       : integer;
   ViewlogEditor : String;
   CipherOrder   : String;
@@ -493,7 +492,6 @@
   CodePage       := GetIniInt('Tera Term', 'CodePage', 0, 0, 0, iniFile);
   VTFont         := GetIniString('Tera Term', 'VTFont', '', iniFile);
   TEKFont        := GetIniString('Tera Term', 'TEKFont', '', iniFile);
-  FileDir        := GetIniString('Tera Term', 'FileDir', '', iniFile);
   TCPPort        := GetIniInt('Tera Term', 'TCPPort', 0, 0, 65535, iniFile)
   ViewlogEditor  := GetIniString('Tera Term', 'ViewlogEditor', '', iniFile);
   CipherOrder    := GetIniString('TTSSH', 'CipherOrder', '', iniFile);
@@ -614,11 +612,6 @@
       SetIniString('Tera Term', 'UILanguageFile', 'lang\Default.lng', iniFile);
   end;
 
-  if Length(FileDir) = 0 then begin
-    FileDir := ExpandConstant('{app}');
-    SetIniString('Tera Term', 'FileDir', FileDir, iniFile);
-  end;
-
   if TCPPort = 0 then begin
     if IsComponentSelected('TTSSH') then
       SetIniInt('Tera Term', 'TCPPort', 22, iniFile)


ttssh2-commit メーリングリストの案内
Back to archive index