From: sr55 Date: Mon, 4 Mar 2019 21:57:09 +0000 (+0000) Subject: WinGui: Update the installers to include the zh language files. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b59d2d24a16279b988b27107b7a5ecb99b717111;p=handbrake WinGui: Update the installers to include the zh language files. --- diff --git a/win/CS/HandBrakeWPF/Installer/Installer64.nsi b/win/CS/HandBrakeWPF/Installer/Installer64.nsi index 9701f1106..386244d4f 100644 --- a/win/CS/HandBrakeWPF/Installer/Installer64.nsi +++ b/win/CS/HandBrakeWPF/Installer/Installer64.nsi @@ -162,6 +162,10 @@ Section "HandBrake" SEC01 SetOverwrite ifnewer File "de\*.*" + SetOutPath "$INSTDIR\zh" + SetOverwrite ifnewer + File "zh\*.*" + ; Copy the standard doc set into the doc folder SetOutPath "$INSTDIR\doc" SetOverwrite ifnewer @@ -206,6 +210,8 @@ Section Uninstall RMDir "$INSTDIR\doc" Delete "$INSTDIR\de\*.*" RMDir "$INSTDIR\de" + Delete "$INSTDIR\zh\*.*" + RMDir "$INSTDIR\zh" Delete "$SMPROGRAMS\HandBrake\Uninstall.lnk" Delete "$DESKTOP\HandBrake.lnk" diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi index 0dada4a5b..a76dc0000 100644 --- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi +++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi @@ -161,6 +161,10 @@ Section "HandBrake" SEC01 SetOverwrite ifnewer File "de\*.*" + SetOutPath "$INSTDIR\zh" + SetOverwrite ifnewer + File "zh\*.*" + ; Copy the standard doc set into the doc folder SetOutPath "$INSTDIR\doc" SetOverwrite ifnewer @@ -202,6 +206,8 @@ Section Uninstall RMDir "$INSTDIR\doc" Delete "$INSTDIR\de\*.*" RMDir "$INSTDIR\de" + Delete "$INSTDIR\zh\*.*" + RMDir "$INSTDIR\zh" RMDir "$INSTDIR" Delete "$SMPROGRAMS\HandBrake Nightly\Uninstall.lnk"