MUI - Create an empty directory "Favorites

This commit is contained in:
Pairi Daiza 2026-04-18 00:34:07 +02:00
parent 5cebf1a1f3
commit bf335a6982
No known key found for this signature in database
GPG Key ID: F33C09E1D53FE433
2 changed files with 6 additions and 2 deletions

3
.gitignore vendored
View File

@ -64,8 +64,7 @@ Thumbs.db
/np3portableapp/Notepad3Portable/Notepad3Portable*.exe
/np3portableapp/Notepad3Portable/App/AppInfo/appinfo.ini
/np3portableapp/Notepad3Portable/App/AppInfo/installer.ini
/np3portableapp/Notepad3Portable/App/DefaultData/settings/*.ini
/np3portableapp/Notepad3Portable/App/DefaultData/settings/Themes/*.ini
/np3portableapp/Notepad3Portable/App/DefaultData/settings/
/np3portableapp/Notepad3Portable/App/Notepad3/x64/*.exe
/np3portableapp/Notepad3Portable/App/Notepad3/x64/lng
/np3portableapp/Notepad3Portable/App/Notepad3/x86/*.exe

View File

@ -218,6 +218,11 @@ copy "%NP3_DISTRIB_DIR%\minipath.ini" "%NP3_PORTAPP_DIR%\App\DefaultData\setting
del /s /f /q "%NP3_PORTAPP_DIR%\App\DefaultData\settings\Themes\*.*" 2>nul
xcopy "%NP3_BUILD_SCHEMES_DIR%" "%NP3_PORTAPP_DIR%\App\DefaultData\settings\Themes" /C /V /I /S /Y
:: --- Create an empty directory "Favorites" ---
if not exist "%NP3_PORTAPP_DIR%\App\DefaultData\settings\Favorites\" (
mkdir "%NP3_PORTAPP_DIR%\App\DefaultData\settings\Favorites\"
)
:: ---------------------------------------------------------------------------------------------------
:: Step 6: Copy language files
:: ---------------------------------------------------------------------------------------------------