diff --git a/.vs/ImageOptimize/v16/.suo b/.vs/ImageOptimize/v16/.suo index 05e09b2..af39d87 100644 Binary files a/.vs/ImageOptimize/v16/.suo and b/.vs/ImageOptimize/v16/.suo differ diff --git a/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide b/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide index ea3cf28..6a0cdcd 100644 Binary files a/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide and b/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide differ diff --git a/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide-shm b/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide-shm deleted file mode 100644 index ffb7976..0000000 Binary files a/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide-shm and /dev/null differ diff --git a/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide-wal b/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide-wal deleted file mode 100644 index d5d2d69..0000000 Binary files a/.vs/ImageOptimize/v16/Server/sqlite3/storage.ide-wal and /dev/null differ diff --git a/ImageOptimize/MainWindow.xaml.cs b/ImageOptimize/MainWindow.xaml.cs index dab72f3..4029779 100644 --- a/ImageOptimize/MainWindow.xaml.cs +++ b/ImageOptimize/MainWindow.xaml.cs @@ -132,6 +132,20 @@ private void Button_Click(object sender, RoutedEventArgs e) //如果选择使用新文件夹 if (radioButton1.IsChecked==true) { + //检查文件名是否有重复,避免不同文件夹内有同名文件 + string tempFileName = null; + for(int i = 0; i Fileslist.NewPath[i] = NewFold + "\\" + preFileName + Fileslist.SrcName[i]); diff --git a/ImageOptimize/bin/Debug/ImageOptimize.application b/ImageOptimize/bin/Debug/ImageOptimize.application index d953f30..c3a5b23 100644 --- a/ImageOptimize/bin/Debug/ImageOptimize.application +++ b/ImageOptimize/bin/Debug/ImageOptimize.application @@ -14,7 +14,7 @@ - iouFMuH5PvRSQovus1p4WE4+8w0BRCWErOk7nVvN6Aw= + mnXc6lTxSKCwTLl074yqPBIn6wVMZye3JvosTZvr+Ao= diff --git a/ImageOptimize/bin/Debug/ImageOptimize.exe b/ImageOptimize/bin/Debug/ImageOptimize.exe index 39aca46..e6291aa 100644 Binary files a/ImageOptimize/bin/Debug/ImageOptimize.exe and b/ImageOptimize/bin/Debug/ImageOptimize.exe differ diff --git a/ImageOptimize/bin/Debug/ImageOptimize.exe.manifest b/ImageOptimize/bin/Debug/ImageOptimize.exe.manifest index ea60180..ef7ad8a 100644 --- a/ImageOptimize/bin/Debug/ImageOptimize.exe.manifest +++ b/ImageOptimize/bin/Debug/ImageOptimize.exe.manifest @@ -50,7 +50,7 @@ - Vkr0xfPejJ4z2R1iAAFo4vaiqmZYmogPz2fItbhwKxc= + X0+NpTZThrbWOlPlPAPo5v07NUc5CrbNa0XmTR053cg= diff --git a/ImageOptimize/bin/Debug/ImageOptimize.pdb b/ImageOptimize/bin/Debug/ImageOptimize.pdb index 954a33a..3b76e40 100644 Binary files a/ImageOptimize/bin/Debug/ImageOptimize.pdb and b/ImageOptimize/bin/Debug/ImageOptimize.pdb differ diff --git a/ImageOptimize/bin/Debug/app.publish/ImageOptimize.exe b/ImageOptimize/bin/Debug/app.publish/ImageOptimize.exe index 9467a32..77a3f88 100644 Binary files a/ImageOptimize/bin/Debug/app.publish/ImageOptimize.exe and b/ImageOptimize/bin/Debug/app.publish/ImageOptimize.exe differ diff --git a/ImageOptimize/bin/Release/ImageOptimize.application b/ImageOptimize/bin/Release/ImageOptimize.application index 50ed4f2..b6a96d6 100644 --- a/ImageOptimize/bin/Release/ImageOptimize.application +++ b/ImageOptimize/bin/Release/ImageOptimize.application @@ -14,7 +14,7 @@ - aHOrelHeQylZIQhBV/YUuTvwmub6Jvpw87DZ85vJZGc= + vvxkQb+V7HEM/XOwJ2an/QvyCCxM8sO1NDXDon7SJZ0= diff --git a/ImageOptimize/bin/Release/ImageOptimize.exe b/ImageOptimize/bin/Release/ImageOptimize.exe index 3130bac..b9c0a39 100644 Binary files a/ImageOptimize/bin/Release/ImageOptimize.exe and b/ImageOptimize/bin/Release/ImageOptimize.exe differ diff --git a/ImageOptimize/bin/Release/ImageOptimize.exe.manifest b/ImageOptimize/bin/Release/ImageOptimize.exe.manifest index 6fdb91d..289e958 100644 --- a/ImageOptimize/bin/Release/ImageOptimize.exe.manifest +++ b/ImageOptimize/bin/Release/ImageOptimize.exe.manifest @@ -43,14 +43,14 @@ - + - YpocwsGhbh3caiPQM0jjlqgHTQeoCgJbHzfUs4pbnxE= + mg/ijYr7RN2mwnysEpASKfi69wGepl3TAmwj95xWiX4= diff --git a/ImageOptimize/bin/Release/ImageOptimize.pdb b/ImageOptimize/bin/Release/ImageOptimize.pdb index 29bb93e..554af1b 100644 Binary files a/ImageOptimize/bin/Release/ImageOptimize.pdb and b/ImageOptimize/bin/Release/ImageOptimize.pdb differ diff --git a/ImageOptimize/bin/Release/app.publish/ImageOptimize.exe b/ImageOptimize/bin/Release/app.publish/ImageOptimize.exe index ce857b4..228f666 100644 Binary files a/ImageOptimize/bin/Release/app.publish/ImageOptimize.exe and b/ImageOptimize/bin/Release/app.publish/ImageOptimize.exe differ diff --git a/ImageOptimize/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/ImageOptimize/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 5c2c9a1..2c27b1a 100644 Binary files a/ImageOptimize/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/ImageOptimize/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/ImageOptimize/obj/Debug/ImageOptimize.application b/ImageOptimize/obj/Debug/ImageOptimize.application index d953f30..c3a5b23 100644 --- a/ImageOptimize/obj/Debug/ImageOptimize.application +++ b/ImageOptimize/obj/Debug/ImageOptimize.application @@ -14,7 +14,7 @@ - iouFMuH5PvRSQovus1p4WE4+8w0BRCWErOk7nVvN6Aw= + mnXc6lTxSKCwTLl074yqPBIn6wVMZye3JvosTZvr+Ao= diff --git a/ImageOptimize/obj/Debug/ImageOptimize.csprojAssemblyReference.cache b/ImageOptimize/obj/Debug/ImageOptimize.csprojAssemblyReference.cache index a2c591a..65f69a4 100644 Binary files a/ImageOptimize/obj/Debug/ImageOptimize.csprojAssemblyReference.cache and b/ImageOptimize/obj/Debug/ImageOptimize.csprojAssemblyReference.cache differ diff --git a/ImageOptimize/obj/Debug/ImageOptimize.exe b/ImageOptimize/obj/Debug/ImageOptimize.exe index 39aca46..e6291aa 100644 Binary files a/ImageOptimize/obj/Debug/ImageOptimize.exe and b/ImageOptimize/obj/Debug/ImageOptimize.exe differ diff --git a/ImageOptimize/obj/Debug/ImageOptimize.exe.manifest b/ImageOptimize/obj/Debug/ImageOptimize.exe.manifest index ea60180..ef7ad8a 100644 --- a/ImageOptimize/obj/Debug/ImageOptimize.exe.manifest +++ b/ImageOptimize/obj/Debug/ImageOptimize.exe.manifest @@ -50,7 +50,7 @@ - Vkr0xfPejJ4z2R1iAAFo4vaiqmZYmogPz2fItbhwKxc= + X0+NpTZThrbWOlPlPAPo5v07NUc5CrbNa0XmTR053cg= diff --git a/ImageOptimize/obj/Debug/ImageOptimize.pdb b/ImageOptimize/obj/Debug/ImageOptimize.pdb index 954a33a..3b76e40 100644 Binary files a/ImageOptimize/obj/Debug/ImageOptimize.pdb and b/ImageOptimize/obj/Debug/ImageOptimize.pdb differ diff --git a/ImageOptimize/obj/Release/ImageOptimize.application b/ImageOptimize/obj/Release/ImageOptimize.application index 50ed4f2..b6a96d6 100644 --- a/ImageOptimize/obj/Release/ImageOptimize.application +++ b/ImageOptimize/obj/Release/ImageOptimize.application @@ -14,7 +14,7 @@ - aHOrelHeQylZIQhBV/YUuTvwmub6Jvpw87DZ85vJZGc= + vvxkQb+V7HEM/XOwJ2an/QvyCCxM8sO1NDXDon7SJZ0= diff --git a/ImageOptimize/obj/Release/ImageOptimize.exe b/ImageOptimize/obj/Release/ImageOptimize.exe index 3130bac..b9c0a39 100644 Binary files a/ImageOptimize/obj/Release/ImageOptimize.exe and b/ImageOptimize/obj/Release/ImageOptimize.exe differ diff --git a/ImageOptimize/obj/Release/ImageOptimize.exe.manifest b/ImageOptimize/obj/Release/ImageOptimize.exe.manifest index 6fdb91d..289e958 100644 --- a/ImageOptimize/obj/Release/ImageOptimize.exe.manifest +++ b/ImageOptimize/obj/Release/ImageOptimize.exe.manifest @@ -43,14 +43,14 @@ - + - YpocwsGhbh3caiPQM0jjlqgHTQeoCgJbHzfUs4pbnxE= + mg/ijYr7RN2mwnysEpASKfi69wGepl3TAmwj95xWiX4= diff --git a/ImageOptimize/obj/Release/ImageOptimize.pdb b/ImageOptimize/obj/Release/ImageOptimize.pdb index 29bb93e..554af1b 100644 Binary files a/ImageOptimize/obj/Release/ImageOptimize.pdb and b/ImageOptimize/obj/Release/ImageOptimize.pdb differ