Skip to content

Commit

Permalink
Merge pull request #93 from PCL-Community/DisableThemeSelect
Browse files Browse the repository at this point in the history
feat: disable theme select
  • Loading branch information
tangge233 authored Jan 24, 2025
2 parents 28628b7 + 8fca86a commit 4c1c416
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Plain Craft Launcher 2/Modules/ModSecret.vb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ PCL-Community 及其成员与龙腾猫跃无从属关系,且均不会为您的
Public ThemeDontClick As Integer = 0

Public Sub ThemeRefresh(Optional NewTheme As Integer = -1)
Hint("该版本中不包含主题功能……")
'Hint("该版本中不包含主题功能……")
End Sub
Public Sub ThemeRefreshMain()
RunInUi(
Expand Down
4 changes: 2 additions & 2 deletions Plain Craft Launcher 2/Pages/PageSetup/PageSetupUI.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
</StackPanel>
<Border Background="#DDDDDDDD" Margin="-8,23,-5,28" CornerRadius="4" Name="PanLauncherHide" Visibility="Collapsed">
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Text="如果可以小小赞助一下 PCL,就能解锁主题颜色更换功能啦……&#xa;多亏了大家的支持,PCL 才能在免费、无任何广告的情况下维持数年的更新(磕头)!" FontSize="13" Margin="0,0,0,0" />
<local:MyButton Height="32" x:Name="BtnLauncherDonate" MinWidth="140" Text="支持 PCL 开发!" Padding="13,0" HorizontalAlignment="Center" Margin="0,9,0,0" ColorType="Highlight" />
<TextBlock Text="嗯?你想换主题?那你应该使用官方的快照版,这里不提供换主题服务 Orz" FontSize="13" Margin="0,0,0,0" TextWrapping="Wrap"/>
<local:MyButton Height="32" x:Name="BtnLauncherDonate" MinWidth="140" Text="获取官方快照版" Padding="13,0" HorizontalAlignment="Center" Margin="0,9,0,0" ColorType="Highlight" />
</StackPanel>
</Border>
</Grid>
Expand Down
10 changes: 4 additions & 6 deletions Plain Craft Launcher 2/Pages/PageSetup/PageSetupUI.xaml.vb
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,13 @@

SliderLoad()

#If BETA Then
PanLauncherHide.Visibility = Visibility.Visible
#End If

'设置解锁
If Not RadioLauncherTheme8.IsEnabled Then LabLauncherTheme8Copy.ToolTip = "累积赞助达到 ¥23.33 后,在爱发电私信发送【解锁码】以解锁。" & vbCrLf & "右键打开赞助页面,如果觉得 PCL 做得还不错就支持一下吧 =w=!"
RadioLauncherTheme8.ToolTip = "累积赞助达到 ¥23.33 后,在爱发电私信发送【解锁码】以解锁"
If Not RadioLauncherTheme9.IsEnabled Then LabLauncherTheme9Copy.ToolTip = "· 反馈一个 Bug,在标记为 [完成] 后回复识别码要求解锁(右键打开反馈页面)" & vbCrLf & "· 提交一个 Pull Request,在合并后回复识别码要求解锁"
RadioLauncherTheme9.ToolTip = "· 反馈一个 Bug,在标记为 [完成] 后回复识别码要求解锁" & vbCrLf & "· 提交一个 Pull Request,在合并后回复识别码要求解锁"
If Not RadioLauncherTheme8.IsEnabled Then LabLauncherTheme8Copy.ToolTip = "社区版不包含主题功能,请使用官方快照版"
RadioLauncherTheme8.ToolTip = "社区版不包含主题功能,请使用官方快照版"
If Not RadioLauncherTheme9.IsEnabled Then LabLauncherTheme9Copy.ToolTip = "社区版不包含主题功能,请使用官方快照版"
RadioLauncherTheme9.ToolTip = "社区版不包含主题功能,请使用官方快照版"
'极客蓝的处理在 ThemeCheck 中

End Sub
Expand Down

0 comments on commit 4c1c416

Please sign in to comment.