From b59d2d24a16279b988b27107b7a5ecb99b717111 Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 4 Mar 2019 21:57:09 +0000 Subject: WinGui: Update the installers to include the zh language files. --- win/CS/HandBrakeWPF/Installer/Installer64.nsi | 6 ++++++ win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi | 6 ++++++ 2 files changed, 12 insertions(+) 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" -- cgit v1.2.3