Skip to content

Commit 5687364

Browse files
committed
更新定义文件
1 parent 9c78c48 commit 5687364

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/App/Forms/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private void OnTitleBarLoaded(object sender, RoutedEventArgs e)
130130
{
131131
await _appViewModel.InitializeAsync();
132132

133-
#if DEBUG
133+
#if !DEBUG
134134
_appViewModel.CheckUpdateCommand.Execute(default);
135135
#endif
136136
_appViewModel.CheckBBDownExistCommand.Execute(default);

src/App/Package.appxmanifest

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,17 @@
3636
<uap:VisualElements
3737
DisplayName="ms-resource:AppName"
3838
Description="App"
39-
BackgroundColor="transparent"
39+
BackgroundColor="#ffffff"
4040
Square150x150Logo="Assets\Logo\Square150x150Logo.png"
4141
Square44x44Logo="Assets\Logo\Square44x44Logo.png">
4242
<uap:DefaultTile Wide310x150Logo="Assets\Logo\Wide310x150Logo.png" Square71x71Logo="Assets\Logo\SmallTile.png" Square310x310Logo="Assets\Logo\LargeTile.png" ShortName="ms-resource:AppName">
43+
<uap:ShowNameOnTiles>
44+
<uap:ShowOn Tile="square150x150Logo"/>
45+
<uap:ShowOn Tile="square310x310Logo"/>
46+
<uap:ShowOn Tile="wide310x150Logo"/>
47+
</uap:ShowNameOnTiles>
4348
</uap:DefaultTile >
44-
<uap:SplashScreen Image="Assets\Logo\SplashScreen.png" />
49+
<uap:SplashScreen Image="Assets\Logo\SplashScreen.png" BackgroundColor="#ffffff"/>
4550
</uap:VisualElements>
4651
</Application>
4752
</Applications>

0 commit comments

Comments
 (0)