From 8a26e8fe33dcb40fde6fddca669c1deb6f537c96 Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Thu, 23 May 2019 19:58:56 +0200 Subject: [PATCH] Change script to remove unnecessary themes directories --- np3portableapp/build_np3portableapp.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/np3portableapp/build_np3portableapp.cmd b/np3portableapp/build_np3portableapp.cmd index 5328d4233..1d9a847ec 100644 --- a/np3portableapp/build_np3portableapp.cmd +++ b/np3portableapp/build_np3portableapp.cmd @@ -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