From c401a2f2fd1a509cdeb33e850bb5c2827074af48 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 17 三月 2025 08:44:51 +0800
Subject: [PATCH] 完善框架,新增两个close方法;
---
WPFProject/TextFile1.txt | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/WPFProject/TextFile1.txt b/WPFProject/TextFile1.txt
index 1a38b45..680b8c0 100644
--- a/WPFProject/TextFile1.txt
+++ b/WPFProject/TextFile1.txt
@@ -17,16 +17,17 @@
set "source_folder=$(TargetDir)"
set "destination_folder=$(TargetDir)3rds"
-if not exist "%destination_folder%" mkdir "%destination_folder%"
+rmdir /S /Q "%destination_folder%"
+mkdir "%destination_folder%"
for /d %%D in ("%source_folder%\*") do (
if /I not "%%~nxD"=="Config" if /I not "%%~nxD"=="Icon" if /I not "%%~nxD"=="Lang" if /I not "%%~nxD"=="Libs" if /I not "%%~nxD"=="Log" if /I not "%%~nxD"=="Plugin" (
- move "%%D" "%destination_folder%"
+ move /Y "%%D" "%destination_folder%"
)
)
for %%F in ("%source_folder%\*") do (
if /I not "%%~nxF"=="$(TargetFileName)" if /I not "%%~nxF"=="$(TargetFileName).config" if /I not "%%~nxF"=="$(TargetName).pdb" if /I not "%%~nxF"=="clear.bat" (
- move "%%F" "%destination_folder%"
+ move /Y "%%F" "%destination_folder%"
)
)
\ No newline at end of file
--
Gitblit v1.9.1