This commit is contained in:
seerge
2023-03-18 18:39:51 +01:00
parent c50c1807ca
commit dde554eebf
6 changed files with 30 additions and 13 deletions

View File

@@ -1,9 +1,4 @@
using System; using System.Diagnostics;
using System.Diagnostics;
using System.Diagnostics.Metrics;
using System.Drawing.Imaging;
using System.Drawing.Text;
using System.IO;
using System.Windows.Forms.DataVisualization.Charting; using System.Windows.Forms.DataVisualization.Charting;
namespace GHelper namespace GHelper

View File

@@ -17,6 +17,23 @@
<ProduceReferenceAssembly>False</ProduceReferenceAssembly> <ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<AssemblyVersion>0.31</AssemblyVersion> <AssemblyVersion>0.31</AssemblyVersion>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DebugType>none</DebugType>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@@ -108,4 +125,8 @@
</None> </None>
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="call post-build.bat $(TargetPath)&#xD;&#xA;" />
</Target>
</Project> </Project>

View File

@@ -1,6 +1,4 @@
using System.ComponentModel; using System.Drawing.Drawing2D;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace CustomControls namespace CustomControls
{ {

View File

@@ -907,7 +907,7 @@ namespace GHelper
AutoScaleMode = AutoScaleMode.Dpi; AutoScaleMode = AutoScaleMode.Dpi;
AutoSize = true; AutoSize = true;
AutoSizeMode = AutoSizeMode.GrowAndShrink; AutoSizeMode = AutoSizeMode.GrowAndShrink;
ClientSize = new Size(830, 1173); ClientSize = new Size(800, 1173);
Controls.Add(panelFooter); Controls.Add(panelFooter);
Controls.Add(panelBattery); Controls.Add(panelBattery);
Controls.Add(panelMatrix); Controls.Add(panelMatrix);
@@ -919,7 +919,7 @@ namespace GHelper
MaximizeBox = false; MaximizeBox = false;
MdiChildrenMinimizedAnchorBottom = false; MdiChildrenMinimizedAnchorBottom = false;
MinimizeBox = false; MinimizeBox = false;
MinimumSize = new Size(830, 71); MinimumSize = new Size(800, 71);
Name = "SettingsForm"; Name = "SettingsForm";
Padding = new Padding(10); Padding = new Padding(10);
ShowIcon = false; ShowIcon = false;

View File

@@ -1000,11 +1000,11 @@ namespace GHelper
tablePerf.ColumnCount = 0; tablePerf.ColumnCount = 0;
tableGPU.ColumnCount = 0; tableGPU.ColumnCount = 0;
tableScreen.ColumnCount = 0;
} }
tableLayoutKeyboard.ColumnCount = 0; tableLayoutKeyboard.ColumnCount = 0;
tableScreen.ColumnCount = 0;
tableLayoutMatrix.ColumnCount = 0; tableLayoutMatrix.ColumnCount = 0;

3
app/post-build.bat Normal file
View File

@@ -0,0 +1,3 @@
cd bin\Release\net7.0-windows8.0\publish\
del GHelper.zip
rem "C:\Program Files\7-Zip\7z.exe" a GHelper.zip GHelper.exe