]> granicus.if.org Git - handbrake/commitdiff
WinGui: Update the installers to include the zh language files.
authorsr55 <sr55.hb@outlook.com>
Mon, 4 Mar 2019 21:57:09 +0000 (21:57 +0000)
committersr55 <sr55.hb@outlook.com>
Mon, 4 Mar 2019 22:07:19 +0000 (22:07 +0000)
win/CS/HandBrakeWPF/Installer/Installer64.nsi
win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi

index 9701f11061f7b3fc6e670fa790863626c45f46f2..386244d4fc324d6061c7bcfc28216447ff443b54 100644 (file)
@@ -162,6 +162,10 @@ Section "HandBrake" SEC01
   SetOverwrite ifnewer\r
   File "de\*.*"\r
 \r
+  SetOutPath "$INSTDIR\zh"\r
+  SetOverwrite ifnewer\r
+  File "zh\*.*"\r
+\r
   ; Copy the standard doc set into the doc folder\r
   SetOutPath "$INSTDIR\doc"\r
   SetOverwrite ifnewer\r
@@ -206,6 +210,8 @@ Section Uninstall
   RMDir  "$INSTDIR\doc"\r
   Delete "$INSTDIR\de\*.*"\r
   RMDir  "$INSTDIR\de"\r
+  Delete "$INSTDIR\zh\*.*"\r
+  RMDir  "$INSTDIR\zh"\r
 \r
   Delete "$SMPROGRAMS\HandBrake\Uninstall.lnk"\r
   Delete "$DESKTOP\HandBrake.lnk"\r
index 0dada4a5b000023d571eb85d500ebea12cbfcf12..a76dc00004fca8d34de3cd8f99a5e5331a2c73e0 100644 (file)
@@ -161,6 +161,10 @@ Section "HandBrake" SEC01
   SetOverwrite ifnewer\r
   File "de\*.*"\r
 \r
+  SetOutPath "$INSTDIR\zh"\r
+  SetOverwrite ifnewer\r
+  File "zh\*.*"\r
+\r
   ; Copy the standard doc set into the doc folder\r
   SetOutPath "$INSTDIR\doc"\r
   SetOverwrite ifnewer\r
@@ -202,6 +206,8 @@ Section Uninstall
   RMDir  "$INSTDIR\doc"\r
   Delete "$INSTDIR\de\*.*"\r
   RMDir  "$INSTDIR\de"\r
+  Delete "$INSTDIR\zh\*.*"\r
+  RMDir  "$INSTDIR\zh"\r
   RMDir  "$INSTDIR"\r
    \r
   Delete "$SMPROGRAMS\HandBrake Nightly\Uninstall.lnk"\r