mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-29 16:54:43 +02:00
Add DarkModeDefault.xml into installation package
This commit is contained in:
parent
19c3035d5a
commit
6d25b8b908
@ -19,6 +19,11 @@ SectionGroup "Themes" Themes
|
|||||||
SetOverwrite off
|
SetOverwrite off
|
||||||
; UPDATE_PATH: the value is $INSTDIR if doLocalConf.xml exit,
|
; UPDATE_PATH: the value is $INSTDIR if doLocalConf.xml exit,
|
||||||
; otherwise the value is $APPDATA\${APPNAME}
|
; otherwise the value is $APPDATA\${APPNAME}
|
||||||
|
Section "-Dark Mode Default" DarkModeDefault
|
||||||
|
SetOutPath "$UPDATE_PATH\themes"
|
||||||
|
File ".\themes\DarkModeDefault.xml"
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
${MementoSection} "Black Board" BlackBoard
|
${MementoSection} "Black Board" BlackBoard
|
||||||
SetOutPath "$UPDATE_PATH\themes"
|
SetOutPath "$UPDATE_PATH\themes"
|
||||||
File ".\themes\Black board.xml"
|
File ".\themes\Black board.xml"
|
||||||
@ -128,6 +133,12 @@ SectionGroupEnd
|
|||||||
|
|
||||||
SectionGroup un.Themes
|
SectionGroup un.Themes
|
||||||
|
|
||||||
|
Section un.DarkModeDefault
|
||||||
|
${If} $keepUserData == "false"
|
||||||
|
Delete "$installPath\themes\DarkModeDefault.xml"
|
||||||
|
${endIf}
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
Section un.BlackBoard
|
Section un.BlackBoard
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Black board.xml"
|
Delete "$installPath\themes\Black board.xml"
|
||||||
|
@ -85,6 +85,7 @@ rem Notepad++ minimalist package
|
|||||||
rmdir /S /Q .\minimalist
|
rmdir /S /Q .\minimalist
|
||||||
mkdir .\minimalist
|
mkdir .\minimalist
|
||||||
mkdir .\minimalist\userDefineLangs
|
mkdir .\minimalist\userDefineLangs
|
||||||
|
mkdir .\minimalist\themes
|
||||||
|
|
||||||
copy /Y ..\..\LICENSE .\minimalist\license.txt
|
copy /Y ..\..\LICENSE .\minimalist\license.txt
|
||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
@ -106,11 +107,14 @@ copy /Y ..\bin\doLocalConf.xml .\minimalist\
|
|||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
copy /Y ..\bin\"notepad++.exe" .\minimalist\
|
copy /Y ..\bin\"notepad++.exe" .\minimalist\
|
||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
|
copy /Y ".\themes\DarkModeDefault.xml" .\minimalist\themes\
|
||||||
|
If ErrorLevel 1 goto End
|
||||||
|
|
||||||
|
|
||||||
rmdir /S /Q .\minimalist64
|
rmdir /S /Q .\minimalist64
|
||||||
mkdir .\minimalist64
|
mkdir .\minimalist64
|
||||||
mkdir .\minimalist64\userDefineLangs
|
mkdir .\minimalist64\userDefineLangs
|
||||||
|
mkdir .\minimalist64\themes
|
||||||
|
|
||||||
copy /Y ..\..\LICENSE .\minimalist64\license.txt
|
copy /Y ..\..\LICENSE .\minimalist64\license.txt
|
||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
@ -132,11 +136,14 @@ copy /Y ..\bin\doLocalConf.xml .\minimalist64\
|
|||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
copy /Y ..\bin64\"notepad++.exe" .\minimalist64\
|
copy /Y ..\bin64\"notepad++.exe" .\minimalist64\
|
||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
|
copy /Y ".\themes\DarkModeDefault.xml" .\minimalist64\themes\
|
||||||
|
If ErrorLevel 1 goto End
|
||||||
|
|
||||||
|
|
||||||
rmdir /S /Q .\minimalistArm64
|
rmdir /S /Q .\minimalistArm64
|
||||||
mkdir .\minimalistArm64
|
mkdir .\minimalistArm64
|
||||||
mkdir .\minimalistArm64\userDefineLangs
|
mkdir .\minimalistArm64\userDefineLangs
|
||||||
|
mkdir .\minimalistArm64\themes
|
||||||
|
|
||||||
copy /Y ..\..\LICENSE .\minimalistArm64\license.txt
|
copy /Y ..\..\LICENSE .\minimalistArm64\license.txt
|
||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
@ -158,6 +165,8 @@ copy /Y ..\bin\doLocalConf.xml .\minimalistArm64\
|
|||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
copy /Y ..\binarm64\"notepad++.exe" .\minimalistArm64\
|
copy /Y ..\binarm64\"notepad++.exe" .\minimalistArm64\
|
||||||
If ErrorLevel 1 goto End
|
If ErrorLevel 1 goto End
|
||||||
|
copy /Y ".\themes\DarkModeDefault.xml" .\minimalistArm64\themes\
|
||||||
|
If ErrorLevel 1 goto End
|
||||||
|
|
||||||
|
|
||||||
rem Remove old built Notepad++ 32-bit package
|
rem Remove old built Notepad++ 32-bit package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user