• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision9389 (tree)
Time2021-08-29 23:44:47
Authorzmatsuo

Log Message

アンインストール時 lang_utf16le/Default.lng が削除されない

Change Summary

Incremental Difference

--- trunk/installer/teraterm_cmake.iss.in (revision 9388)
+++ trunk/installer/teraterm_cmake.iss.in (revision 9389)
@@ -60,6 +60,7 @@
6060 Name: {app}\theme\tile; Components: TeraTerm
6161 Name: {app}\plugin; Components: TeraTerm
6262 Name: {app}\lang; Components: TeraTerm
63+Name: {app}\lang_utf16le; Components: TeraTerm
6364
6465 [Files]
6566 Source: @CMAKE_INSTALL_PREFIX@/ttermpro.exe; DestDir: {app}; Components: TeraTerm; Flags: ignoreversion
@@ -877,7 +878,7 @@
877878
878879 procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
879880 var
880- ini : array[0..5] of String;
881+ ini : array[0..6] of String;
881882 buf : String;
882883 conf : String;
883884 confmsg : String;
@@ -891,9 +892,10 @@
891892 ini[0] := '\TERATERM.INI';
892893 ini[1] := '\KEYBOARD.CNF';
893894 ini[2] := '\lang\Default.lng';
894- ini[3] := '\ssh_known_hosts';
895- ini[4] := '\cygterm.cfg';
896- ini[5] := '\broadcast.log';
895+ ini[3] := '\lang_utf16le\Default.lng';
896+ ini[4] := '\ssh_known_hosts';
897+ ini[5] := '\cygterm.cfg';
898+ ini[6] := '\broadcast.log';
897899
898900 conf := CustomMessage('msg_del_confirm');
899901 app := ExpandConstant('{app}');
@@ -908,7 +910,7 @@
908910 if not silent then begin
909911
910912 // delete config files
911- for i := 0 to 5 do
913+ for i := 0 to 6 do
912914 begin
913915 buf := app + ini[i];
914916 if FileExists(buf) then begin
@@ -935,6 +937,7 @@
935937
936938 // directory is deleted only if empty
937939 RemoveDir(app + '\lang');
940+ RemoveDir(app + '\lang_utf16le');
938941 RemoveDir(app);
939942 end;
940943 end;
Show on old repository browser