diff --git a/po/gen-nsi.sh b/po/gen-nsi.sh index 66ac86e..35d7c85 100755 --- a/po/gen-nsi.sh +++ b/po/gen-nsi.sh @@ -2,5 +2,6 @@ rm -f $1 for lang in `cat $(dirname $0)/LINGUAS`; do - echo File /nonfatal \"/oname=$lang\\LC_MESSAGES\\telegram-purple.mo\" \"\${BUILD_DIR}\\$lang.gmo\" >>$1 + echo SetOutPath \"\$PidginDir\\locale\\$lang\\LC_MESSAGES\" >>$1 + echo File /nonfatal \"/oname=\${PRODUCT_NAME}.mo\" \"\${BUILD_DIR}\\$lang.gmo\" >>$1 done diff --git a/tdlib-purple.nsi b/tdlib-purple.nsi index db0ad83..f3717c0 100644 --- a/tdlib-purple.nsi +++ b/tdlib-purple.nsi @@ -73,7 +73,6 @@ Section "MainSection" SEC01 Abort "Installation of ${PRODUCT_NAME} aborted" after_copy: - SetOutPath "$PidginDir\locale" !include "${BUILD_DIR}\lang.nsi" SectionEnd