mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-27 15:49:47 +01:00
Test
This commit is contained in:
parent
6bcf678be9
commit
21fdfc6cdb
28
resources/nsis/NSIS.definitions.nsh.in
Executable file
28
resources/nsis/NSIS.definitions.nsh.in
Executable file
@ -0,0 +1,28 @@
|
||||
; This file is part of RSS Guard.
|
||||
;
|
||||
; Copyright (C) 2011-2015 by Martin Rotter <rotter.martinos@gmail.com>
|
||||
;
|
||||
; 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 <http:;www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
!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"
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user