Browse Source

优化更新

tags/录制修改前
zhangxueyang 4 years ago
parent
commit
4b9b9d60b6

+ 2
- 2
XHWK.WKTool/App.config View File

34
     <!--上传每片大小 Mb-->
34
     <!--上传每片大小 Mb-->
35
     <add key="UploadSliceLen" value="1" />
35
     <add key="UploadSliceLen" value="1" />
36
     <!--版本号-->
36
     <!--版本号-->
37
-    <add key="VersionCode" value="33" />
38
-    <add key="VersionName" value="1.3.2" />
37
+    <add key="VersionCode" value="35" />
38
+    <add key="VersionName" value="1.3.4" />
39
     <add key="ClientSettingsProvider.ServiceUri" value="" />
39
     <add key="ClientSettingsProvider.ServiceUri" value="" />
40
   </appSettings>
40
   </appSettings>
41
   <system.web>
41
   <system.web>

+ 10
- 10
XHWK.WKTool/App.cs View File

243
                 //}
243
                 //}
244
                 #endregion
244
                 #endregion
245
 
245
 
246
-                try
247
-                {
248
-                    if(Directory.Exists(AppDomain.CurrentDomain.BaseDirectory+"temp"))//清除临时文件
249
-                    {
250
-                        Directory.Delete(AppDomain.CurrentDomain.BaseDirectory + "temp",true);
251
-                    }
252
-                }
253
-                catch (Exception)
254
-                {
255
-                }
246
+                //try
247
+                //{
248
+                //    if(Directory.Exists(AppDomain.CurrentDomain.BaseDirectory+"temp"))//清除临时文件
249
+                //    {
250
+                //        Directory.Delete(AppDomain.CurrentDomain.BaseDirectory + "temp",true);
251
+                //    }
252
+                //}
253
+                //catch (Exception)
254
+                //{
255
+                //}
256
 
256
 
257
                 //如果本地文件为空,弹出弹窗 输密匙
257
                 //如果本地文件为空,弹出弹窗 输密匙
258
                 //本地文件不为空, 解析
258
                 //本地文件不为空, 解析

+ 2
- 0
XHWK.WKTool/CreateAMicroLessonWindow.xaml.cs View File

182
                             {
182
                             {
183
                                 Dispatcher.Invoke(new Action(() =>
183
                                 Dispatcher.Invoke(new Action(() =>
184
                                 {
184
                                 {
185
+                                    string pathTemp = AppDomain.CurrentDomain.BaseDirectory + "Temp\\";
186
+                                    FileToolsCommon.CreateDirectory(pathTemp);
185
                                     appUpdateShow(resultObj.obj);
187
                                     appUpdateShow(resultObj.obj);
186
                                 }));
188
                                 }));
187
                             }
189
                             }

+ 2
- 2
XHWK.WKTool/Properties/AssemblyInfo.cs View File

49
 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
49
 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
50
 //通过使用 "*",如下所示:
50
 //通过使用 "*",如下所示:
51
 // [assembly: AssemblyVersion("1.0.*")]
51
 // [assembly: AssemblyVersion("1.0.*")]
52
-[assembly: AssemblyVersion("1.3.2.0")]
53
-[assembly: AssemblyFileVersion("1.3.2.0")]
52
+[assembly: AssemblyVersion("1.3.4.0")]
53
+[assembly: AssemblyFileVersion("1.3.4.0")]

+ 2
- 2
XHWK.WKTool/XHMicroLessonSystemWindow.xaml View File

425
 
425
 
426
                     <TextBlock Grid.Row="6" Grid.Column="0" x:Name="txbFilePath" Text="文件路径" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Padding="0,0,0,0" />
426
                     <TextBlock Grid.Row="6" Grid.Column="0" x:Name="txbFilePath" Text="文件路径" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Padding="0,0,0,0" />
427
                     <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
427
                     <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
428
-                        <Border Background="#CDD6E0" Width="522" Height="30" CornerRadius="3" Margin="0,-30,0,0">
429
-                            <Label x:Name="txbStoragePath" Background="#FFFFFF" Margin="0,0,0,0" Content="D:\" FontSize="14" Foreground="#333333" Padding="10,7,2,2" Width="520" Height="28" BorderBrush="{x:Null}" BorderThickness="0"/>
428
+                        <Border Background="#CDD6E0" Width="515" Height="30" CornerRadius="3" Margin="0,-30,0,0">
429
+                            <Label x:Name="txbStoragePath" Background="#FFFFFF" Margin="0,0,0,0" Content="D:\" FontSize="14" Foreground="#333333" Padding="10,7,2,2" Width="513" Height="28" BorderBrush="{x:Null}" BorderThickness="0"/>
430
                         </Border>
430
                         </Border>
431
                         <!--浏览按钮-->
431
                         <!--浏览按钮-->
432
                         <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="14" Width="80" Height="30" Margin="18,-30,0,0" Click="BtnBrowse_Click">
432
                         <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="14" Width="80" Height="30" Margin="18,-30,0,0" Click="BtnBrowse_Click">

Loading…
Cancel
Save