mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
* 激进的更新 * 试试 * fix.可爱的我一直在修CI( * fix.启动器一定要能够启动 * feat.尝试弄了AOT的启动器。 * fix.修CI,好像是因为Linux那边有个问题,反正修就对了。 * fix.ci难修,为什么liunx跑不起来呢? * Update build.yml * Update LanMountainDesktop.csproj * changed.调整了启动逻辑,优化了更新页面。 * changed.优化了更新体验 * feat.依旧试增量更新这一块,看看velopack * fix.我们试验性地修复了启动器无法正常启动的问题,原因可能是这个画面没有启动,就GUI没显示。然后还把编译问题修了一下。 * fix.继续修ci,ci怎么天天炸 * changed.velopack,试试rust * fix.修ci,修融合桌面,修启动器 * fix.GitHub Action工作流怎么天天出问题 * feat.引入velopack,不好,是rust(至少内存很安全了。 * chore: migrate release pipeline to signed filemap and wire rainyun s3 * fix: make optional s3 upload step workflow-parse safe * fix: make delta pack generation robust for empty diffs and linux paths * chore: rotate launcher update public key for pdc signing * fix: restore stable launcher update public key * fix: sync launcher public key with update signing secret * fix: normalize PEM line endings in signing key validation * fix: rotate launcher public key to match ci signing secret * fix: compare signing keys by SPKI instead of PEM text * refactor update backend to host-managed PDC pipeline * fix release workflow env key collisions * relax publish-pdc precheck to require S3 only * set GH_TOKEN for PDCC installer step * ci: add local pdc mock fallback for release publish * ci: fix pdc mock process log redirection * ci: fallback pdcc signing key to update private key * ci: ensure pdcc signing passphrase env is always set * ci: create pdcc publish root before invoking client * ci: set pdcc version variable from release version * ci: decouple pdcc installer version from publish config version * ci: package pdcc subchannels with generated filemap and changelog * ci: make local pdc mock diff return empty for fast fallback * ci: fix pdcc variable mapping and pdc signing prechecks * Update App.axaml.cs * ci: wire aws cli credentials for rainyun s3 * ci: pin pdcc client version separately from app version * ci: harden local pdc mock transport handling * ci: publish pdcc subchannels in one pass * ci: add pdcc publish heartbeat and timeout * ci: fix pdcc publish workdir bootstrap * feat.Penguin Logistics Online Network Distribution System * ci: fix plonds s3 probe and signing fallback * ci: validate signing key and quiet missing baselines * ci: relax aws checksum mode for rainyun s3 * ci: avoid multipart uploads to rainyun s3 * ci: handle empty plonds baselines safely * ci.plonds * Rebuild release pipeline around PLONDS and DDSS * Fix Windows installer script path in release workflow
109 lines
4.1 KiB
XML
109 lines
4.1 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:views="clr-namespace:LanMountainDesktop.Launcher.Views"
|
|
mc:Ignorable="d"
|
|
d:DesignWidth="480"
|
|
d:DesignHeight="320"
|
|
x:Class="LanMountainDesktop.Launcher.Views.UpdateWindow"
|
|
x:DataType="views:UpdateWindow"
|
|
Title="阑山桌面 - 更新"
|
|
Width="480"
|
|
Height="320"
|
|
CanResize="False"
|
|
WindowStartupLocation="CenterScreen"
|
|
SystemDecorations="None"
|
|
Background="{DynamicResource SolidBackgroundFillColorBaseBrush}"
|
|
TransparencyLevelHint="None"
|
|
Icon="/Assets/logo.ico">
|
|
<Design.DataContext>
|
|
<views:UpdateWindow />
|
|
</Design.DataContext>
|
|
|
|
<Grid>
|
|
<!-- 顶部:应用名称和最小化按钮 -->
|
|
<Grid VerticalAlignment="Top" Margin="24,24,24,0">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center" Spacing="8">
|
|
<TextBlock x:Name="TitleText"
|
|
Text="阑山桌面"
|
|
FontSize="24"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextFillColorPrimaryBrush}" />
|
|
<Border Background="{DynamicResource AccentFillColorDefaultBrush}"
|
|
CornerRadius="4"
|
|
Padding="6,2"
|
|
VerticalAlignment="Center">
|
|
<TextBlock Text="Update"
|
|
FontSize="11"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextOnAccentFillColorPrimaryBrush}" />
|
|
</Border>
|
|
</StackPanel>
|
|
|
|
<!-- 最小化按钮 -->
|
|
<Button x:Name="MinimizeButton"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
Width="32"
|
|
Height="32"
|
|
Background="Transparent"
|
|
BorderThickness="0">
|
|
<TextBlock Text=""
|
|
FontSize="12"
|
|
FontFamily="{DynamicResource SymbolThemeFontFamily}"
|
|
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"/>
|
|
</Button>
|
|
</Grid>
|
|
|
|
<!-- 底部区域:进度条和状态 -->
|
|
<Grid VerticalAlignment="Bottom" Margin="24,0,24,24">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- 第一行:左下角状态,右下角百分比 -->
|
|
<Grid Grid.Row="0" Margin="0,0,0,8">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<!-- 左下角:状态文字 -->
|
|
<TextBlock x:Name="StatusText"
|
|
Grid.Column="0"
|
|
FontSize="11"
|
|
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
|
|
Opacity="0.8"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Bottom"
|
|
Text="正在更新,请稍候..." />
|
|
|
|
<!-- 右下角:百分比 -->
|
|
<TextBlock x:Name="PercentText"
|
|
Grid.Column="1"
|
|
FontSize="11"
|
|
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
|
|
Opacity="0.8"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Bottom"
|
|
Text="0%" />
|
|
</Grid>
|
|
|
|
<!-- 底部:进度条 -->
|
|
<ProgressBar x:Name="ProgressIndicator"
|
|
Grid.Row="1"
|
|
Minimum="0"
|
|
Maximum="100"
|
|
Value="0"
|
|
Height="4"
|
|
IsIndeterminate="True"
|
|
Foreground="{DynamicResource AccentFillColorDefaultBrush}"
|
|
Background="{DynamicResource ControlStrokeColorDefaultBrush}" />
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|