mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
!verbose push
|
|
!verbose 3
|
|
|
|
!ifndef _MUI_EXTRAPAGES_NSH
|
|
!define _MUI_EXTRAPAGES_NSH
|
|
|
|
!ifmacrondef MUI_EXTRAPAGE_README & MUI_PAGE_README & MUI_UNPAGE_README & ReadmeLangStrings
|
|
|
|
!macro MUI_EXTRAPAGE_README UN ReadmeFile
|
|
!verbose push
|
|
!verbose 3
|
|
!define MUI_PAGE_HEADER_TEXT "$(${UN}ReadmeHeader)"
|
|
!define MUI_PAGE_HEADER_SUBTEXT "$(${UN}ReadmeSubHeader)"
|
|
!define MUI_LICENSEPAGE_TEXT_TOP "$(${UN}ReadmeTextTop)"
|
|
!define MUI_LICENSEPAGE_TEXT_BOTTOM "$(${UN}ReadmeTextBottom)"
|
|
!define MUI_LICENSEPAGE_BUTTON "$(^NextBtn)"
|
|
!insertmacro MUI_${UN}PAGE_LICENSE "${ReadmeFile}"
|
|
!verbose pop
|
|
!macroend
|
|
|
|
!define ReadmeRun "!insertmacro MUI_EXTRAPAGE_README"
|
|
|
|
|
|
!macro MUI_PAGE_README ReadmeFile
|
|
!verbose push
|
|
!verbose 3
|
|
${ReadmeRun} "" "${ReadmeFile}"
|
|
!verbose pop
|
|
!macroend
|
|
|
|
|
|
!macro MUI_UNPAGE_README ReadmeFile
|
|
!verbose push
|
|
!verbose 3
|
|
${ReadmeRun} "UN" "${ReadmeFile}"
|
|
!verbose pop
|
|
!macroend
|
|
|
|
|
|
!macro ReadmeLangStrings UN MUI_LANG ReadmeHeader ReadmeSubHeader ReadmeTextTop ReadmeTextBottom
|
|
!verbose push
|
|
!verbose 3
|
|
LangString ${UN}ReadmeHeader ${MUI_LANG} "${ReadmeHeader}"
|
|
LangString ${UN}ReadmeSubHeader ${MUI_LANG} "${ReadmeSubHeader}"
|
|
LangString ${UN}ReadmeTextTop ${MUI_LANG} "${ReadmeTextTop}"
|
|
LangString ${UN}ReadmeTextBottom ${MUI_LANG} "${ReadmeTextBottom}"
|
|
!verbose pop
|
|
!macroend
|
|
|
|
!define ReadmeLanguage `!insertmacro ReadmeLangStrings ""`
|
|
|
|
!define Un.ReadmeLanguage `!insertmacro ReadmeLangStrings "UN"`
|
|
|
|
!endif
|
|
!endif
|
|
|
|
!verbose pop |