Compare commits

...

3 Commits

Author SHA1 Message Date
Space Time
938ca77fc1 1.1.4 -> 1.1.5 第26次更新 2025-06-05 09:27:48 +08:00
Space Time
d9e307e647 1.1.4 -> 1.1.5 第25次更新 2025-06-05 09:09:16 +08:00
Space Time
85213b61da 1.1.4 -> 1.1.5 第24次更新 2025-06-05 08:54:06 +08:00
5 changed files with 14 additions and 29 deletions

View File

@ -10,7 +10,7 @@ internal abstract class AboutConst : AboutMultilangConst
public static string DeveloperButtonUrl => "https://www.spacetimee.xyz";
public static string VersionButtonVersionContent => Assembly.GetExecutingAssembly().GetName().Version!.ToString()[..^2];
public static string VersionButtonUrl => "https://spacetime.lanzouu.com/b017hp0lc";
public static string VersionButtonUrl => "https://github.com/SpaceTimee/Sheas-Cealer/releases/latest";
public static string EmailButtonUrl => "Zeus6_6@163.com";
public static string DocumentationButtonUrl => "https://github.com/SpaceTimee/Sheas-Cealer/wiki/Sheas-Cealer-Documentation";

View File

@ -8,12 +8,7 @@ internal class BrowserProc : Proc
{
private readonly bool ShutDownAppOnProcessExit;
internal BrowserProc(string browserPath, bool shutDownAppOnProcessExit) : base(browserPath)
{
ShutDownAppOnProcessExit = shutDownAppOnProcessExit;
Process_Exited(null, EventArgs.Empty);
}
internal BrowserProc(string browserPath, bool shutDownAppOnProcessExit) : base(browserPath) => ShutDownAppOnProcessExit = shutDownAppOnProcessExit;
protected sealed override void Process_Exited(object? sender, EventArgs e)
{

View File

@ -70,36 +70,29 @@
</ItemGroup>
<ItemGroup>
<Compile Update="Consts\AboutMultilangConst.Designer.cs">
<Compile Update="Consts\MainMultilangConst.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>AboutMultilangConst.resx</DependentUpon>
<DependentUpon>MainMultilangConst.resx</DependentUpon>
</Compile>
<Compile Update="Consts\SettingsMultilangConst.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>SettingsMultilangConst.resx</DependentUpon>
</Compile>
<Compile Update="Consts\AboutMultilangConst.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>AboutMultilangConst.resx</DependentUpon>
</Compile>
<Compile Update="Props\Settings.Designer.cs">
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
<Compile Update="Consts\MainMultilangConst.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>MainMultilangConst.resx</DependentUpon>
</Compile>
<Compile Update="Wins\SettingsWin.xaml.cs">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Consts\AboutMultilangConst.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>AboutMultilangConst.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Consts\MainMultilangConst.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>MainMultilangConst.Designer.cs</LastGenOutput>
@ -108,9 +101,10 @@
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>SettingsMultilangConst.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Consts\AboutMultilangConst.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>AboutMultilangConst.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Update="Props\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>

View File

@ -29,8 +29,7 @@
Content="{x:Static consts:AboutConst.DeveloperButtonContent}"
ToolTip="{x:Static consts:AboutConst.DeveloperButtonUrl}"
Click="AboutButton_Click" />
<Button x:Name="VersionButton"
Grid.Row="1" Grid.Column="0" Margin="5" d:Content="# # #: #.#.#"
<Button Grid.Row="1" Grid.Column="0" Margin="5" d:Content="# # #: #.#.#"
d:Foreground="{Binding Source={x:Static consts:AboutConst.AccentBlueColor}, Converter={x:Static convs:AboutConv.AboutAccentButtonForegroundConv}}"
Foreground="{Binding AccentForegroundColor, Converter={x:Static convs:AboutConv.AboutAccentButtonForegroundConv}}"
ToolTip="{x:Static consts:AboutConst.VersionButtonUrl}"

View File

@ -53,9 +53,6 @@ public partial class AboutWin : Window
{
Button senderButton = (Button)sender;
if (senderButton == VersionButton)
MessageBox.Show($"{AboutConst._ReleasePagePasswordLabel} 3wnj");
ProcessStartInfo processStartInfo = new(senderButton == EmailButton ? "mailto:" : string.Empty + senderButton.ToolTip) { UseShellExecute = true };
try { Process.Start(processStartInfo); }