Skip to content

Commit

Permalink
update dll and prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
irusanov committed Dec 7, 2023
1 parent a5669ed commit b2dc61a
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 17 deletions.
Binary file modified Common/ZenStates-Core.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions WPF-no-themes/Properties/BuildNumberTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

using System.Reflection;

[assembly: AssemblyVersion("1.30.1191")]
[assembly: AssemblyFileVersion("1.30.1191")]
[assembly: AssemblyVersion("1.30.1192")]
[assembly: AssemblyFileVersion("1.30.1192")]
4 changes: 2 additions & 2 deletions WPF/Properties/BuildNumberTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

using System.Reflection;

[assembly: AssemblyVersion("1.31.1191")]
[assembly: AssemblyFileVersion("1.31.1191")]
[assembly: AssemblyVersion("1.31.1192")]
[assembly: AssemblyFileVersion("1.31.1192")]
23 changes: 11 additions & 12 deletions WPF/Windows/Changelog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,30 @@
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<StackPanel Orientation="Vertical" Margin="15" Grid.ColumnSpan="2">
<StackPanel Orientation="Vertical" Margin="15" Grid.ColumnSpan="2" Grid.Row="0" Width="424">
<!-- TextBlock Text="Changelog" FontSize="14" FontWeight="Bold" Style="{DynamicResource ValueStyles}" Height="auto" HorizontalAlignment="Left" /-->
<TextBlock Text="v1.30 Nov 23, 2023" FontSize="13" Style="{DynamicResource ValueStyles}" Height="auto" HorizontalAlignment="Left" />
<TextBlock Text="v1.31 Dec 7, 2023" FontSize="13" Style="{DynamicResource ValueStyles}" Height="auto" HorizontalAlignment="Left" />
<TextBlock Text="" />
<TextBlock Text=" - Enhanced compatibility with StormPeak and Genoa, offering partial support." />
<TextBlock Text=" - Introduced initial support for Mendocino and Phoenix." />
<TextBlock Text=" - Optimized the refresh process for power management tables, enhancing efficiency." />
<TextBlock Text=" - Improved support for Dali cores." />
<TextBlock Text=" - Addressed and fixed issues with the PM table of Picasso." />
<TextBlock Text=" - Fix saved window position out of bounds." />
<TextBlock Text=" - Simplified the versioning scheme for better clarity." />
<TextBlock Text=" - Add support for Dragon Range (tested on Ryzen 9 7945HX)." TextWrapping="WrapWithOverflow" />
<TextBlock Text=" - Add CPU VDDIO reading on DDR5 systems." TextWrapping="WrapWithOverflow" />
<TextBlock Text=" - Fix issues with reading power table on some systems." TextWrapping="WrapWithOverflow" />
<TextBlock Text="" />
</StackPanel>
<Border Grid.Row="1" Grid.ColumnSpan="2" Margin="15">
<StackPanel Orientation="Horizontal">
<Image Source="/Resources/warning-icon.png" Width="16" VerticalAlignment="Top" />
<TextBlock
VerticalAlignment="Center"
Margin="5 0 0 0"
Visibility="{Binding timings.Type, Mode=OneWay, Converter={StaticResource DDR5ToBool}}"
TextWrapping="Wrap"
Text="Please be aware that the current version is not capable of detecting DRAM Overvoltage mode. As a result, the readings for MEM VDD and MEM VDDQ may not be accurate." Width="329" />
Text="Please be aware that the current version is not capable of detecting DRAM Overvoltage mode. As a result, the readings for MEM VDD and MEM VDDQ may not be accurate." MaxWidth="400" />
</StackPanel>
</StackPanel>
<Border Grid.Row="1" Padding="4 10" Grid.ColumnSpan="2">
</Border>
<Border Padding="4 10" Grid.ColumnSpan="2" Grid.Row="2">
<Button x:Name="Changelog_Close" Content="Close" Width="80" IsCancel="True" />
</Border>
</Grid>
Expand Down
11 changes: 10 additions & 1 deletion WPF/Windows/OptionsDialog.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
using System.Diagnostics;
using System.Reflection;
using System.Windows;
using System.Windows.Input;
using System.Windows.Threading;
Expand Down Expand Up @@ -115,7 +117,14 @@ private void ButtonSettingsCancel_Click(object sender, RoutedEventArgs e)

private void ButtonSettingsRestart_Click(object sender, RoutedEventArgs e)
{
System.Diagnostics.Process.Start(Application.ResourceAssembly.Location);
ProcessStartInfo Info = new ProcessStartInfo
{
Arguments = "/C choice /C Y /N /D Y /T 1 & START \"\" \"" + Assembly.GetEntryAssembly().Location + "\"",
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true,
FileName = "cmd.exe"
};
Process.Start(Info);
Application.Current.Shutdown();
}

Expand Down

0 comments on commit b2dc61a

Please sign in to comment.