From ea3c6b6b097490b70ce8686ad0eb998f4048a254 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sat, 6 Jul 2013 15:03:26 +0300 Subject: [PATCH] Write BOM to NSIS scripts. --- src/windows/installer.nsi | 2 +- src/windows/options.nsi | 2 +- src/windows/qbittorrent.nsi | 2 +- src/windows/translations.nsi | 2 +- src/windows/uninstaller.nsi | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/windows/installer.nsi b/src/windows/installer.nsi index e02db55ef..a27a4d666 100644 --- a/src/windows/installer.nsi +++ b/src/windows/installer.nsi @@ -1,4 +1,4 @@ -Section "-hidden" +Section "-hidden" ;Search if qBittorrent is already installed. FindFirst $0 $1 "$INSTDIR\uninst.exe" diff --git a/src/windows/options.nsi b/src/windows/options.nsi index 7c2034850..d441e0250 100644 --- a/src/windows/options.nsi +++ b/src/windows/options.nsi @@ -1,4 +1,4 @@ -Unicode true +Unicode true ;Compress the header too !packhdr "$%TEMP%\exehead.tmp" 'upx.exe -9 --best --ultra-brute "$%TEMP%\exehead.tmp"' diff --git a/src/windows/qbittorrent.nsi b/src/windows/qbittorrent.nsi index 03a263bb1..a5b9509ce 100644 --- a/src/windows/qbittorrent.nsi +++ b/src/windows/qbittorrent.nsi @@ -1,4 +1,4 @@ -!include options.nsi +!include options.nsi !include translations.nsi !include installer.nsi !include uninstaller.nsi diff --git a/src/windows/translations.nsi b/src/windows/translations.nsi index e8b6331f1..ef3bd58c6 100644 --- a/src/windows/translations.nsi +++ b/src/windows/translations.nsi @@ -1,4 +1,4 @@ -;Nsis translations +;Nsis translations !insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "Afrikaans" diff --git a/src/windows/uninstaller.nsi b/src/windows/uninstaller.nsi index 3a16ade2f..831fd693f 100644 --- a/src/windows/uninstaller.nsi +++ b/src/windows/uninstaller.nsi @@ -1,4 +1,4 @@ -Section "un.$(remove_files)" ;"un.Remove files" +Section "un.$(remove_files)" ;"un.Remove files" SectionIn RO ; Remove files and uninstaller