Merge pull request #1238 from hpwamr/mui_dev

Change script to remove unnecessary themes directories
This commit is contained in:
Pairi Daiza 2019-05-23 20:16:03 +02:00 committed by GitHub
commit d492735b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ set PORTAPP_INSTALLER_CREATOR=%PORTAPP_ROOT_DIR%\PortableApps.comInstaller\Porta
set NP3_DISTRIB_DIR=%SCRIPT_DIR%..\Build
set NP3_DOC_DIR=%SCRIPT_DIR%..\doc
set NP3_THEMES_DIR=%SCRIPT_DIR%..\themes
::set NP3_THEMES_DIR=%SCRIPT_DIR%..\themes
set NP3_BUILD_SCHEMES_DIR=%SCRIPT_DIR%..\Build\Themes
::set NP3_WIN32_DIR=%SCRIPT_DIR%..\Bin\Release_x86_v141
::set NP3_X64_DIR=%SCRIPT_DIR%..\Bin\Release_x64_v141
@ -112,7 +112,7 @@ copy /B "%NP3_WIN32_DIR%\minipath.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\"
del /s /f /q "%NP3_PORTAPP_DIR%\App\themes\*.*"
for /f "delims=" %%d in ('dir /ad /b "%NP3_PORTAPP_DIR%\App\themes\"') do rmdir /s /q "%NP3_PORTAPP_DIR%\App\themes\%%d"
xcopy "%NP3_THEMES_DIR%" "%NP3_PORTAPP_DIR%\App\themes" /C /V /I /S /Y
::xcopy "%NP3_THEMES_DIR%" "%NP3_PORTAPP_DIR%\App\themes" /C /V /I /S /Y
del /s /f /q "%NP3_PORTAPP_DIR%\App\DefaultData\settings\themes\*.*"
xcopy "%NP3_BUILD_SCHEMES_DIR%" "%NP3_PORTAPP_DIR%\App\DefaultData\settings\themes" /C /V /I /S /Y