diff --git a/resources/nsis/NSIS.definitions.nsh.in b/resources/nsis/NSIS.definitions.nsh.in new file mode 100755 index 000000000..cffdcf855 --- /dev/null +++ b/resources/nsis/NSIS.definitions.nsh.in @@ -0,0 +1,28 @@ +; This file is part of RSS Guard. +; +; Copyright (C) 2011-2015 by Martin Rotter +; +; RSS Guard is free software: you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation, either version 3 of the License, or +; (at your option) any later version. +; +; RSS Guard is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with RSS Guard. If not, see . + + +!define VERSION "@APP_VERSION@" +!define APP_VERSION "@APP_VERSION@" +!define APP_NAME "@APP_NAME@" +!define EXE_NAME "@EXE_NAME@" +!define README_FILE "README" +!define LICENSE_FILE "@PWD@\..\..\resources\text\COPYING_GNU_GPL" +!define MUI_ICON "@PWD@\..\..\resources\graphics\@APP_LOW_NAME@.ico" +!define MUI_UNICON "@PWD@\..\..\resources\graphics\@APP_LOW_NAME@.ico" +!define PATCH "0" +!define BINARY_TREE "@OUT_PWD@\app" \ No newline at end of file diff --git a/src/rssguard/rssguard.pro b/src/rssguard/rssguard.pro index 072ad986c..46f0a55ac 100644 --- a/src/rssguard/rssguard.pro +++ b/src/rssguard/rssguard.pro @@ -55,11 +55,11 @@ SEDREPLACE = "s|@APP_VERSION@|$$APP_VERSION|g; s|@APP_WIN_ARCH@|$$APP_WIN_ARCH|g message($$MSG_PREFIX: Sed replace string: \"$$SEDREPLACE\") # > \"$$system_path($$system_quote($$OUT_PWD\NSIS.definitions.nsh))\" -FULLSEDCMD = "$$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe)) -e \"$$SEDREPLACE\" \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in))\" > \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in))\"" +FULLSEDCMD = "$$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe)) -e \"$$SEDREPLACE\" \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in))\" > \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.out))\"" message($$MSG_PREFIX: Full sed command: $$FULLSEDCMD) system($$FULLSEDCMD) -system(move \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in))\" \"$$system_path($$system_quote($$OUT_PWD\NSIS.definitions.nsh))\") +system(move \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.out))\" \"$$system_path($$system_quote($$OUT_PWD\NSIS.definitions.nsh))\") system(xcopy /Y $$shell_path($$shell_quote($$PWD/../../resources/nsis/NSIS.template.in)) $$shell_path($$shell_quote($$OUT_PWD/))) include(../../pri/install.pri)