Add a new theme in installer

This commit is contained in:
Don HO 2020-05-14 01:06:14 +02:00
parent bdb9b28429
commit 920fc5c3d3
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E
1 changed files with 12 additions and 1 deletions

View File

@ -124,11 +124,16 @@ SectionGroup "Themes" Themes
SetOutPath "$UPDATE_PATH\themes"
File ".\themes\MossyLawn.xml"
${MementoSectionEnd}
${MementoSection} "Navajo" Navajo
SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Navajo.xml"
${MementoSectionEnd}
${MementoSection} "DansLeRuSH Dark" DansLeRuSHDark
SetOutPath "$UPDATE_PATH\themes"
File ".\themes\DansLeRuSH-Dark.xml"
${MementoSectionEnd}
SectionGroupEnd
@ -253,5 +258,11 @@ SectionGroup un.Themes
Delete "$installPath\themes\Navajo.xml"
${endIf}
SectionEnd
Section un.DansLeRuSHDark
${If} $keepUserData == "false"
Delete "$installPath\themes\DansLeRuSH-Dark.xml"
${endIf}
SectionEnd
SectionGroupEnd