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

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 2月 17日 (木) 22:14:15 JST


Revision: 9746
          https://osdn.net/projects/ttssh2/scm/svn/commits/9746
Author:   zmatsuo
Date:     2022-02-17 22:14:15 +0900 (Thu, 17 Feb 2022)
Log Message:
-----------
インストーラで TERATERM.INI の FileDir にインストール先フォルダを書き込むのをやめる

- r9730の修正を cmake用 teraterm.iss に反映

Modified Paths:
--------------
    trunk/installer/teraterm_cmake.iss.in

-------------- next part --------------
Modified: trunk/installer/teraterm_cmake.iss.in
===================================================================
--- trunk/installer/teraterm_cmake.iss.in	2022-02-16 14:20:20 UTC (rev 9745)
+++ trunk/installer/teraterm_cmake.iss.in	2022-02-17 13:14:15 UTC (rev 9746)
@@ -480,7 +480,6 @@
   CodePage      : integer;
   VTFont        : String;
   TEKFont       : String;
-  FileDir       : String;
   TCPPort       : integer;
   ViewlogEditor : String;
   CipherOrder   : String;
@@ -491,7 +490,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);
@@ -612,11 +610,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