Debian Codegraph @

project/bundles/vcpkg/installer/readme_page.nsh

raw
1 ;; ============================================================
2 ;
3 ; This file is a part of digiKam project
4 ; https://www.digikam.org
5 ;
6 ; Date : 2007-01-01
7 ; Description : Functions to create README page.
8 ; For details: http://nsis.sourceforge.net/Readme_Page_Based_on_MUI_License_Page
9 ; Note: NSIS >= 3 is required to be compatible with Windows 10.
10 ;
11 ; SPDX-FileCopyrightText: 2010-2026 by Gilles Caulier <caulier dot gilles at gmail dot com>
12 ;
13 ; SPDX-License-Identifier: GPL-2.0-or-later
14 ;
15 ; ============================================================ ;;
16
17 !ifndef README_PAGE_NSH
18 !define README_PAGE_NSH
19
20 !macro MUI_EXTRAPAGE_README UN ReadmeFile
21
22 !verbose push
23 !verbose 3
24
25 !define MUI_PAGE_HEADER_TEXT "Read Me"
26 !define MUI_PAGE_HEADER_SUBTEXT "Please review the following important information."
27 !define MUI_LICENSEPAGE_TEXT_TOP "About $(^name):"
28 !define MUI_LICENSEPAGE_TEXT_BOTTOM "Click on scrollbar arrows or press Page Down to review the entire text."
29 !define MUI_LICENSEPAGE_BUTTON "$(^NextBtn)"
30 !insertmacro MUI_${UN}PAGE_LICENSE "${ReadmeFile}"
31
32 !verbose pop
33
34 !macroend
35
36 ;-------------------------------------------------------------------------------------
37
38 !define ReadmeRun "!insertmacro MUI_EXTRAPAGE_README"
39
40 !macro MUI_PAGE_README ReadmeFile
41
42 !verbose push
43 !verbose 3
44
45 ${ReadmeRun} "" "${ReadmeFile}"
46
47 !verbose pop
48
49 !macroend
50
51 !endif ;README_PAGE_NSH