From 28c0c136846711cbbdb1ae8cdae5a5e33f03739d Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Mon, 4 May 2026 20:42:32 +0200 Subject: [PATCH] MUI - Moving all *.txt files to Docs folder (for Setup, PAF and Portable) --- License.txt => Build/Docs/License.txt | 0 Build/make_portable_alpha(.7z).cmd | 6 +++--- Build/make_portable_beta(.7z).cmd | 6 +++--- Build/make_portable_rel(.zip).cmd | 6 +++--- np3portableapp/build_np3portableapp.cmd | 1 - 5 files changed, 9 insertions(+), 10 deletions(-) rename License.txt => Build/Docs/License.txt (100%) diff --git a/License.txt b/Build/Docs/License.txt similarity index 100% rename from License.txt rename to Build/Docs/License.txt diff --git a/Build/make_portable_alpha(.7z).cmd b/Build/make_portable_alpha(.7z).cmd index 0419aa784..cf22f83d7 100644 --- a/Build/make_portable_alpha(.7z).cmd +++ b/Build/make_portable_alpha(.7z).cmd @@ -95,8 +95,8 @@ IF EXIST "%TEMP_NAME%" RD /S /Q "%TEMP_NAME%" IF NOT EXIST "%TEMP_NAME%" MD "%TEMP_NAME%" IF NOT EXIST "Packages" MD "Packages" -FOR %%A IN ("..\License.txt" "Notepad3_ptb.ini" "minipath.ini"^ - "..\%1\Notepad3.exe" "..\%1\minipath.exe" "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\" +FOR %%A IN ("Notepad3_ptb.ini" "minipath.ini" "..\%1\Notepad3.exe" "..\%1\minipath.exe"^ + "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\" IF EXIST "%TEMP_NAME%\Notepad3_ptb.ini" RENAME "%TEMP_NAME%\Notepad3_ptb.ini" "Notepad3.ini" SET "LNG=%TEMP_NAME%\lng" @@ -120,7 +120,7 @@ IF NOT EXIST "%FAVORITES%" MD "%FAVORITES%" PUSHD "%TEMP_NAME%" "%SEVENZIP%" a -t7z -m0=lzma2 -ms=on -mx=9^ - "%ZIP_NAME%.7z" "License.txt" "Notepad3.exe" "Notepad3.ini"^ + "%ZIP_NAME%.7z" "Notepad3.exe" "Notepad3.ini"^ "Favorites" "minipath.exe" "minipath.ini" "np3encrypt.exe" "grepWin" "lng" "Themes" "Docs">NUL IF %ERRORLEVEL% NEQ 0 CALL :SUBMSG "ERROR" "Compilation failed!" diff --git a/Build/make_portable_beta(.7z).cmd b/Build/make_portable_beta(.7z).cmd index 2fdd3fa79..0b1a4f327 100644 --- a/Build/make_portable_beta(.7z).cmd +++ b/Build/make_portable_beta(.7z).cmd @@ -95,8 +95,8 @@ IF EXIST "%TEMP_NAME%" RD /S /Q "%TEMP_NAME%" IF NOT EXIST "%TEMP_NAME%" MD "%TEMP_NAME%" IF NOT EXIST "Packages" MD "Packages" -FOR %%A IN ("..\License.txt" "Notepad3_ptb.ini" "minipath.ini"^ - "..\%1\Notepad3.exe" "..\%1\minipath.exe" "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\" +FOR %%A IN ("Notepad3_ptb.ini" "minipath.ini" "..\%1\Notepad3.exe" "..\%1\minipath.exe"^ + "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\" IF EXIST "%TEMP_NAME%\Notepad3_ptb.ini" RENAME "%TEMP_NAME%\Notepad3_ptb.ini" "Notepad3.ini" SET "LNG=%TEMP_NAME%\lng" @@ -120,7 +120,7 @@ IF NOT EXIST "%FAVORITES%" MD "%FAVORITES%" PUSHD "%TEMP_NAME%" "%SEVENZIP%" a -t7z -m0=lzma2 -ms=on -mx=9^ - "%ZIP_NAME%.7z" "License.txt" "Notepad3.exe" "Notepad3.ini"^ + "%ZIP_NAME%.7z" "Notepad3.exe" "Notepad3.ini"^ "Favorites" "minipath.exe" "minipath.ini" "np3encrypt.exe" "grepWin" "lng" "Themes" "Docs">NUL IF %ERRORLEVEL% NEQ 0 CALL :SUBMSG "ERROR" "Compilation failed!" diff --git a/Build/make_portable_rel(.zip).cmd b/Build/make_portable_rel(.zip).cmd index dfc574798..2b99733b9 100644 --- a/Build/make_portable_rel(.zip).cmd +++ b/Build/make_portable_rel(.zip).cmd @@ -95,8 +95,8 @@ IF EXIST "%TEMP_NAME%" RD /S /Q "%TEMP_NAME%" IF NOT EXIST "%TEMP_NAME%" MD "%TEMP_NAME%" IF NOT EXIST "Packages" MD "Packages" -FOR %%A IN ("..\License.txt" "Notepad3_ptb.ini" "minipath.ini"^ - "..\%1\Notepad3.exe" "..\%1\minipath.exe" "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\" +FOR %%A IN ("Notepad3_ptb.ini" "minipath.ini" "..\%1\Notepad3.exe" "..\%1\minipath.exe"^ + "..\%1\np3encrypt.exe") DO COPY /Y /V "%%A" "%TEMP_NAME%\" IF EXIST "%TEMP_NAME%\Notepad3_ptb.ini" RENAME "%TEMP_NAME%\Notepad3_ptb.ini" "Notepad3.ini" SET "LNG=%TEMP_NAME%\lng" @@ -120,7 +120,7 @@ IF NOT EXIST "%FAVORITES%" MD "%FAVORITES%" PUSHD "%TEMP_NAME%" "%SEVENZIP%" a -tzip -mcu=on -mx=9^ - "%ZIP_NAME%.zip" "License.txt" "Notepad3.exe" "Notepad3.ini"^ + "%ZIP_NAME%.zip" "Notepad3.exe" "Notepad3.ini"^ "Favorites" "minipath.exe" "minipath.ini" "np3encrypt.exe" "grepWin" "lng" "Themes" "Docs">NUL IF %ERRORLEVEL% NEQ 0 CALL :SUBMSG "ERROR" "Compilation failed!" diff --git a/np3portableapp/build_np3portableapp.cmd b/np3portableapp/build_np3portableapp.cmd index 663c3912d..a3bd33e02 100644 --- a/np3portableapp/build_np3portableapp.cmd +++ b/np3portableapp/build_np3portableapp.cmd @@ -189,7 +189,6 @@ echo. echo --- Step 3: Copy Docs --- copy "%NP3_DISTRIB_DIR%\Changes.txt" "%NP3_PORTAPP_DIR%\App\Notepad3\Docs\Changes.txt" /Y /V -copy "%SCRIPT_DIR%..\License.txt" "%NP3_PORTAPP_DIR%\App\Notepad3\Docs\License.txt" /Y /V copy "%NP3_DOC_DIR%\*.txt" "%NP3_PORTAPP_DIR%\App\Notepad3\Docs\*.txt" /Y /V copy "%NP3_DOC_DIR%\crypto\*.txt" "%NP3_PORTAPP_DIR%\App\Notepad3\Docs\crypto\*.txt" /Y /V copy "%NP3_DOC_DIR%\uthash\*.txt" "%NP3_PORTAPP_DIR%\App\Notepad3\Docs\uthash\*.txt" /Y /V