diff --git a/Tools/clean.cmd b/Tools/clean.cmd index 30258d1..2191f14 100644 --- a/Tools/clean.cmd +++ b/Tools/clean.cmd @@ -44,6 +44,7 @@ for /f "delims=" %%a in ('%~dp0bin\es -path %pt%-%ver% ext:user') do del /f /q " del /f /q "%pt%-%ver%\src\modules\imageresizer\dll\ImageResizerExt_i.c" del /f /q "%pt%-%ver%\src\modules\imageresizer\dll\ImageResizerExt_i.h" +del /f /q "%pt%-%ver%\src\modules\imageresizer\dll\RCa11568" rmdir /s /q %pt%-%ver%\src\modules\videoconference\VideoConferenceProxyFilter\Win32 @echo off @@ -54,6 +55,9 @@ pause echo กค%i% set i=%i:~15% if "%i:~-9%"=="-ORIGINAL" goto :eof +if "%i:~-11%"=="-FULLBACKUP" goto :eof +if "%i:~-8%"=="-FULLBAK" goto :eof +if "%i:~-6%"=="-PATCH" goto :eof set a=%i% goto :EOF diff --git a/Tools/modify.cmd b/Tools/modify.cmd index 5263243..e0c9bf3 100644 --- a/Tools/modify.cmd +++ b/Tools/modify.cmd @@ -26,7 +26,11 @@ mkdir %pt%-%ver%\x64\Release\modules\launcher\Plugins\VSCodeWorkspace\ 2>nul copy /y %pt%-%ver%\x64\Release\modules\launcher\Plugins\VSCodeWorkspaces %pt%-%ver%\x64\Release\modules\launcher\Plugins\VSCodeWorkspace\ @echo off -for /f "delims=" %%a in (zhcn_modify_list.txt) do set zhcn=%%a&call :zhcn +for /f "delims=" %%a in (zhcn_modify_list.txt) do set zhcn=%%a&call :zhcn +@echo on + +@echo off +for /f "delims=" %%a in (zhcn_modify_list2.txt) do set zhcn=%%a&call :zhcn2 @echo on @echo off @@ -41,9 +45,9 @@ set a=%i% goto :EOF :title -title PT Source Cleaner - %ver% -if test"%ver%"==test"%a%" title PT Source Cleaner - %ver% [Newest] -if not exist "%pt%-%ver%" title PT Source Cleaner - %ver% [Not exist!] +title PT Source Patcher - %ver% +if test"%ver%"==test"%a%" title PT Source Patcher - %ver% [Newest] +if not exist "%pt%-%ver%" title PT Source Patcher - %ver% [Not exist!] goto :EOF :zhcn @@ -53,4 +57,13 @@ mkdir %zhcnd%zh-CN 2>nul @echo on copy /y blank %zhcnd%zh-CN\%zhcnn%.resources%zhcnx% @echo off +goto :EOF + +:zhcn2 +set zhcn=%pt%-%ver%\x64\Release\%zhcn% +for /f "delims=" %%a in ('echo %zhcn%') do set zhcnd=%%~dpa&set zhcnn=%%~na&set zhcnx=%%~xa +mkdir %zhcnd%zh-CN 2>nul +@echo on +copy /y %zhcnn%.resources%zhcnx% %zhcnd%zh-CN\%zhcnn%.resources%zhcnx% +@echo off goto :EOF \ No newline at end of file diff --git a/Tools/zhcn_modify_list.txt b/Tools/zhcn_modify_list.txt index 9843d42..93f71bf 100644 --- a/Tools/zhcn_modify_list.txt +++ b/Tools/zhcn_modify_list.txt @@ -14,14 +14,6 @@ modules\launcher\Plugins\System\Microsoft.PowerToys.Run.Plugin.System.dll modules\launcher\Plugins\TimeDate\Microsoft.PowerToys.Run.Plugin.TimeDate.dll modules\launcher\Plugins\WindowsSettings\Microsoft.PowerToys.Run.Plugin.WindowsSettings.dll modules\launcher\Plugins\WindowsTerminal\Microsoft.PowerToys.Run.Plugin.WindowsTerminal.dll -modules\ColorPicker\ModernWpf.Controls.dll -modules\FancyZones\ModernWpf.Controls.dll -modules\ImageResizer\ModernWpf.Controls.dll -modules\launcher\ModernWpf.Controls.dll -modules\ColorPicker\ModernWpf.dll -modules\FancyZones\ModernWpf.dll -modules\ImageResizer\ModernWpf.dll -modules\launcher\ModernWpf.dll modules\ColorPicker\PowerToys.ColorPickerUI.dll modules\FancyZones\PowerToys.FancyZonesEditor.dll modules\FileExplorerPreview\PowerToys.GcodePreviewHandler.dll diff --git a/Tools/zhcn_modify_list2.txt b/Tools/zhcn_modify_list2.txt new file mode 100644 index 0000000..e69de29 diff --git a/Tools/zhcn_modify_list2.txt.bak b/Tools/zhcn_modify_list2.txt.bak new file mode 100644 index 0000000..0769719 --- /dev/null +++ b/Tools/zhcn_modify_list2.txt.bak @@ -0,0 +1,8 @@ +modules\ColorPicker\ModernWpf.Controls.dll +modules\FancyZones\ModernWpf.Controls.dll +modules\ImageResizer\ModernWpf.Controls.dll +modules\launcher\ModernWpf.Controls.dll +modules\ColorPicker\ModernWpf.dll +modules\FancyZones\ModernWpf.dll +modules\ImageResizer\ModernWpf.dll +modules\launcher\ModernWpf.dll \ No newline at end of file