v1.1.2: 新增 PatchService 安装/卸载补丁系统 + 品牌更新

This commit is contained in:
雾启工作室
2026-06-28 10:07:06 +08:00
parent a1140d15ab
commit 790f5901cf
8 changed files with 320 additions and 75 deletions

View File

@@ -15,19 +15,12 @@
<Color x:Key="Fg">#D0D0E0</Color>
<Color x:Key="SubFg">#707090</Color>
<SolidColorBrush x:Key="BorderBrush" Color="#25FFFFFF"/>
<QuadraticEase x:Key="EaseOut" EasingMode="EaseOut"/>
</Window.Resources>
<Window.RenderTransform>
<ScaleTransform ScaleX="1" ScaleY="1"/>
</Window.RenderTransform>
<Border CornerRadius="12" Background="#0F0F1A" BorderBrush="{StaticResource BorderBrush}"
BorderThickness="1">
<Border CornerRadius="12" Background="#0F0F1A" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1">
<Border.Effect>
<DropShadowEffect BlurRadius="24" ShadowDepth="4" Opacity="0.3" Color="Black"/>
</Border.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="34"/>
@@ -76,7 +69,12 @@
<StackPanel Margin="0,8">
<TextBlock Text="功能模块" FontSize="11" Foreground="{StaticResource SubFg}"
Margin="16,8,16,4"/>
<RadioButton x:Name="NavInk" GroupName="Nav" IsChecked="True"
<RadioButton x:Name="NavInstall" GroupName="Nav" IsChecked="True"
Content=" 安装管理" Foreground="{StaticResource Fg}"
Background="Transparent" BorderThickness="0"
Cursor="Hand" Height="36" Padding="16,0"
Checked="NavChanged"/>
<RadioButton x:Name="NavInk" GroupName="Nav"
Content=" 墨迹管理" Foreground="{StaticResource Fg}"
Background="Transparent" BorderThickness="0"
Cursor="Hand" Height="36" Padding="16,0"
@@ -91,11 +89,6 @@
Background="Transparent" BorderThickness="0"
Cursor="Hand" Height="36" Padding="16,0"
Checked="NavChanged"/>
<RadioButton x:Name="NavBoard" GroupName="Nav"
Content=" 大屏支持" Foreground="{StaticResource Fg}"
Background="Transparent" BorderThickness="0"
Cursor="Hand" Height="36" Padding="16,0"
Checked="NavChanged"/>
<RadioButton x:Name="NavActivate" GroupName="Nav"
Content=" 激活" Foreground="{StaticResource Fg}"
Background="Transparent" BorderThickness="0"
@@ -111,8 +104,35 @@
<ScrollViewer Grid.Column="2" VerticalScrollBarVisibility="Auto"
Background="#0D0D18" Padding="24,16">
<StackPanel x:Name="ContentPanel">
<!-- Install Management -->
<StackPanel x:Name="PanelInstall" Visibility="Visible">
<TextBlock Text="Better-Seewo 安装管理" FontSize="20" FontWeight="SemiBold"
Foreground="#60B0FF" Margin="0,0,0,8"/>
<TextBlock x:Name="InstallStatusText" Text="正在检测状态..." FontSize="13"
Foreground="{StaticResource SubFg}" Margin="0,0,0,16"/>
<Button x:Name="InstallBtn" Content="安装补丁" Width="180" Height="34"
Margin="0,0,0,8" Cursor="Hand" Click="InstallPatch_Click"/>
<Button x:Name="UninstallBtn" Content="卸载补丁" Width="180" Height="34"
Margin="0,0,0,8" Cursor="Hand" Click="UninstallPatch_Click"
IsEnabled="False"/>
<TextBlock x:Name="PatchDetailText" FontSize="12"
Foreground="{StaticResource SubFg}" Margin="0,8,0,0"
TextWrapping="Wrap"/>
<TextBlock Text="" Margin="0,16,0,0"/>
<TextBlock Text="说明" FontSize="16" FontWeight="SemiBold"
Foreground="{StaticResource Fg}" Margin="0,0,0,8"/>
<TextBlock TextWrapping="Wrap" FontSize="12"
Foreground="{StaticResource SubFg}">
• 安装补丁:备份希沃白板关键配置文件,然后应用增强补丁。&#10;
• 卸载补丁:从备份文件(.bak还原原始配置清除注册表修改。&#10;
• 安装后请重启希沃白板使补丁生效。&#10;
• 补丁不修改希沃白板主程序文件,仅修改配置和注册表。
</TextBlock>
</StackPanel>
<!-- Ink Module -->
<StackPanel x:Name="PanelInk" Visibility="Visible">
<StackPanel x:Name="PanelInk" Visibility="Collapsed">
<TextBlock Text="墨迹管理" FontSize="20" FontWeight="SemiBold"
Foreground="#60B0FF" Margin="0,0,0,16"/>
<TextBlock Text="导出/导入希沃白板课件中的笔迹和标注" FontSize="13"
@@ -144,17 +164,6 @@
<TextBlock x:Name="TouchStatus" FontSize="12" Foreground="{StaticResource SubFg}" Margin="0,8,0,0"/>
</StackPanel>
<!-- Board Module -->
<StackPanel x:Name="PanelBoard" Visibility="Collapsed">
<TextBlock Text="大屏支持" FontSize="20" FontWeight="SemiBold"
Foreground="#60B0FF" Margin="0,0,0,16"/>
<TextBlock Text="为非触摸大屏启用完整白板模式" FontSize="13"
Foreground="{StaticResource SubFg}" Margin="0,0,0,16"/>
<Button Content="配置大屏模式" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="EnableBoardSupport_Click"/>
<Button Content="启用 IWB 模式" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="EnableIWB_Click"/>
<TextBlock x:Name="BoardStatus" FontSize="12" Foreground="{StaticResource SubFg}" Margin="0,8,0,0"/>
</StackPanel>
<!-- Activate Module -->
<StackPanel x:Name="PanelActivate" Visibility="Collapsed">
<TextBlock Text="专业版激活" FontSize="20" FontWeight="SemiBold"
@@ -171,7 +180,7 @@
<!-- Footer -->
<Border Grid.Row="2" Background="#1A1A2E" CornerRadius="0,0,12,12">
<TextBlock Text="雾启工作室 · 雾生万象,启以为光" FontSize="11"
<TextBlock Text="雾启工作室 × Macrohard Studio · 雾生万象,启以为光" FontSize="11"
Foreground="#404058" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
</Grid>