prepearing to 1.0.0.3

This commit is contained in:
stam 2021-05-06 01:09:02 +03:00
parent 28d2ed46da
commit 93b7e2789a
26 changed files with 23134 additions and 12108 deletions

View File

@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.2")]
[assembly: AssemblyFileVersion("1.0.0.2")]
[assembly: AssemblyVersion("1.0.0.3")]
[assembly: AssemblyFileVersion("1.0.0.3")]

View File

@ -130,6 +130,16 @@ namespace UniversalValveToolbox.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap toolbox64 {
get {
object obj = ResourceManager.GetObject("toolbox64", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View File

@ -118,23 +118,14 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="checked_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\checked_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="valve_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\valve_64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="cancel_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\cancel_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="refresh_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\refresh_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="human_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\human_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="info_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\info_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="checked_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\checked_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="plug-silhouette_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\plug-silhouette_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -142,4 +133,16 @@
<data name="run_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\run_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="cancel_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\cancel_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="human_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\human_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="info_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\info_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="toolbox64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\toolbox64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -30,17 +30,24 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAbout));
this.labelVersion = new System.Windows.Forms.Label();
this.pictureBoxLogo = new System.Windows.Forms.PictureBox();
this.labelTitle = new System.Windows.Forms.Label();
this.labelCopy = new System.Windows.Forms.Label();
this.labelDivider = new System.Windows.Forms.Label();
this.buttonOK = new System.Windows.Forms.Button();
this.linkLabelIconSite = new System.Windows.Forms.LinkLabel();
this.groupBox = new System.Windows.Forms.GroupBox();
this.linkLabelTI = new System.Windows.Forms.LinkLabel();
this.linkLabelFP = new System.Windows.Forms.LinkLabel();
this.pictureBoxLogo = new System.Windows.Forms.PictureBox();
this.labelCaution = new System.Windows.Forms.Label();
this.labelIconsBy = new System.Windows.Forms.Label();
this.linkLabelthoseicons = new System.Windows.Forms.LinkLabel();
this.linkLabelsmashicons = new System.Windows.Forms.LinkLabel();
this.labelEpicMorgSteamPathsLibdll = new System.Windows.Forms.Label();
this.labelFacepunchSteamworksWin32dll = new System.Windows.Forms.Label();
this.labelkasthackbindingwfdll = new System.Windows.Forms.Label();
this.labelNewtonsoftJsondll = new System.Windows.Forms.Label();
this.labelGameloopVdf = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxLogo)).BeginInit();
this.groupBox.SuspendLayout();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// labelVersion
@ -48,14 +55,6 @@
resources.ApplyResources(this.labelVersion, "labelVersion");
this.labelVersion.Name = "labelVersion";
//
// pictureBoxLogo
//
this.pictureBoxLogo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.pictureBoxLogo.Image = global::UniversalValveToolbox.Properties.Resources.valve_64;
resources.ApplyResources(this.pictureBoxLogo, "pictureBoxLogo");
this.pictureBoxLogo.Name = "pictureBoxLogo";
this.pictureBoxLogo.TabStop = false;
//
// labelTitle
//
resources.ApplyResources(this.labelTitle, "labelTitle");
@ -79,29 +78,6 @@
this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
//
// linkLabelIconSite
//
resources.ApplyResources(this.linkLabelIconSite, "linkLabelIconSite");
this.linkLabelIconSite.Name = "linkLabelIconSite";
this.linkLabelIconSite.TabStop = true;
this.linkLabelIconSite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelIconSite_LinkClicked);
//
// groupBox
//
resources.ApplyResources(this.groupBox, "groupBox");
this.groupBox.Controls.Add(this.linkLabelTI);
this.groupBox.Controls.Add(this.linkLabelFP);
this.groupBox.Controls.Add(this.linkLabelIconSite);
this.groupBox.Name = "groupBox";
this.groupBox.TabStop = false;
//
// linkLabelTI
//
resources.ApplyResources(this.linkLabelTI, "linkLabelTI");
this.linkLabelTI.Name = "linkLabelTI";
this.linkLabelTI.TabStop = true;
this.linkLabelTI.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelTI_LinkClicked);
//
// linkLabelFP
//
resources.ApplyResources(this.linkLabelFP, "linkLabelFP");
@ -109,11 +85,89 @@
this.linkLabelFP.TabStop = true;
this.linkLabelFP.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelFP_LinkClicked);
//
// pictureBoxLogo
//
resources.ApplyResources(this.pictureBoxLogo, "pictureBoxLogo");
this.pictureBoxLogo.Image = global::UniversalValveToolbox.Properties.Resources.toolbox64;
this.pictureBoxLogo.Name = "pictureBoxLogo";
this.pictureBoxLogo.TabStop = false;
//
// labelCaution
//
resources.ApplyResources(this.labelCaution, "labelCaution");
this.labelCaution.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelCaution.Name = "labelCaution";
//
// labelIconsBy
//
resources.ApplyResources(this.labelIconsBy, "labelIconsBy");
this.labelIconsBy.Name = "labelIconsBy";
//
// linkLabelthoseicons
//
resources.ApplyResources(this.linkLabelthoseicons, "linkLabelthoseicons");
this.linkLabelthoseicons.Name = "linkLabelthoseicons";
this.linkLabelthoseicons.TabStop = true;
this.linkLabelthoseicons.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelTI_LinkClicked);
//
// linkLabelsmashicons
//
resources.ApplyResources(this.linkLabelsmashicons, "linkLabelsmashicons");
this.linkLabelsmashicons.Name = "linkLabelsmashicons";
this.linkLabelsmashicons.TabStop = true;
this.linkLabelsmashicons.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelSI_LinkClicked);
//
// labelEpicMorgSteamPathsLibdll
//
resources.ApplyResources(this.labelEpicMorgSteamPathsLibdll, "labelEpicMorgSteamPathsLibdll");
this.labelEpicMorgSteamPathsLibdll.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.labelEpicMorgSteamPathsLibdll.Name = "labelEpicMorgSteamPathsLibdll";
//
// labelFacepunchSteamworksWin32dll
//
resources.ApplyResources(this.labelFacepunchSteamworksWin32dll, "labelFacepunchSteamworksWin32dll");
this.labelFacepunchSteamworksWin32dll.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.labelFacepunchSteamworksWin32dll.Name = "labelFacepunchSteamworksWin32dll";
//
// labelkasthackbindingwfdll
//
resources.ApplyResources(this.labelkasthackbindingwfdll, "labelkasthackbindingwfdll");
this.labelkasthackbindingwfdll.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.labelkasthackbindingwfdll.Name = "labelkasthackbindingwfdll";
//
// labelNewtonsoftJsondll
//
resources.ApplyResources(this.labelNewtonsoftJsondll, "labelNewtonsoftJsondll");
this.labelNewtonsoftJsondll.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.labelNewtonsoftJsondll.Name = "labelNewtonsoftJsondll";
//
// labelGameloopVdf
//
resources.ApplyResources(this.labelGameloopVdf, "labelGameloopVdf");
this.labelGameloopVdf.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.labelGameloopVdf.Name = "labelGameloopVdf";
//
// groupBox1
//
resources.ApplyResources(this.groupBox1, "groupBox1");
this.groupBox1.Controls.Add(this.labelEpicMorgSteamPathsLibdll);
this.groupBox1.Controls.Add(this.labelkasthackbindingwfdll);
this.groupBox1.Controls.Add(this.labelGameloopVdf);
this.groupBox1.Controls.Add(this.labelNewtonsoftJsondll);
this.groupBox1.Controls.Add(this.labelFacepunchSteamworksWin32dll);
this.groupBox1.Name = "groupBox1";
this.groupBox1.TabStop = false;
//
// FormAbout
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.groupBox);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.linkLabelsmashicons);
this.Controls.Add(this.linkLabelthoseicons);
this.Controls.Add(this.linkLabelFP);
this.Controls.Add(this.labelIconsBy);
this.Controls.Add(this.labelCaution);
this.Controls.Add(this.buttonOK);
this.Controls.Add(this.labelDivider);
this.Controls.Add(this.labelTitle);
@ -127,8 +181,7 @@
this.ShowInTaskbar = false;
this.Load += new System.EventHandler(this.FormAbout_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBoxLogo)).EndInit();
this.groupBox.ResumeLayout(false);
this.groupBox.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@ -142,9 +195,16 @@
private System.Windows.Forms.Label labelCopy;
private System.Windows.Forms.Label labelDivider;
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.LinkLabel linkLabelIconSite;
private System.Windows.Forms.GroupBox groupBox;
private System.Windows.Forms.LinkLabel linkLabelTI;
private System.Windows.Forms.LinkLabel linkLabelFP;
private System.Windows.Forms.Label labelCaution;
private System.Windows.Forms.Label labelIconsBy;
private System.Windows.Forms.LinkLabel linkLabelthoseicons;
private System.Windows.Forms.LinkLabel linkLabelsmashicons;
private System.Windows.Forms.Label labelEpicMorgSteamPathsLibdll;
private System.Windows.Forms.Label labelFacepunchSteamworksWin32dll;
private System.Windows.Forms.Label labelkasthackbindingwfdll;
private System.Windows.Forms.Label labelNewtonsoftJsondll;
private System.Windows.Forms.Label labelGameloopVdf;
private System.Windows.Forms.GroupBox groupBox1;
}
}

View File

@ -6,9 +6,31 @@ namespace UniversalValveToolbox {
public partial class FormAbout : Form {
public FormAbout() {
InitializeComponent();
#region move to helper
System.Reflection.Assembly assemblyEpicMorgSteamPathsLib = System.Reflection.Assembly.LoadFrom("EpicMorg.SteamPathsLib.dll");
System.Reflection.Assembly assemblyFacepunchSteamworksWin32 = System.Reflection.Assembly.LoadFrom("Facepunch.Steamworks.Win32.dll");
System.Reflection.Assembly assemblykasthackbindingwf = System.Reflection.Assembly.LoadFrom("kasthack.binding.wf.dll");
System.Reflection.Assembly assemblyGameloopVdf = System.Reflection.Assembly.LoadFrom("Gameloop.Vdf.dll");
System.Reflection.Assembly assemblyNewtonsoftJson = System.Reflection.Assembly.LoadFrom("Newtonsoft.Json.dll");
Version verEpicMorgSteamPathsLib = assemblyEpicMorgSteamPathsLib.GetName().Version;
Version verFacepunchSteamworksWin32 = assemblyFacepunchSteamworksWin32.GetName().Version;
Version verkasthackbindingwf = assemblykasthackbindingwf.GetName().Version;
Version verGameloopVdf = assemblyGameloopVdf.GetName().Version;
Version verNewtonsoftJson = assemblyNewtonsoftJson.GetName().Version;
#endregion
labelVersion.Text = Utils.VersionHelper.AssemblyVersion;
labelTitle.Text = Utils.VersionHelper.AssemblyTitle;
labelCopy.Text = Utils.VersionHelper.AssemblyCopyright;
labelCaution.Text = labelTitle.Text + " " + labelCaution.Text;
labelEpicMorgSteamPathsLibdll.Text = "EpicMorg.SteamPathsLib.dll " + verEpicMorgSteamPathsLib.ToString();
labelFacepunchSteamworksWin32dll.Text = "Facepunch.Steamworks.Win32.dll " + verFacepunchSteamworksWin32.ToString();
labelkasthackbindingwfdll.Text = "kasthack.binding.wf.dll " + verkasthackbindingwf.ToString();
labelGameloopVdf.Text = "Gameloop.Vdf.dll " + verGameloopVdf.ToString();
labelNewtonsoftJsondll.Text = "Newtonsoft.Json.dll " + verNewtonsoftJson.ToString();
}
private void FormAbout_Load(object sender, EventArgs e) {
@ -30,5 +52,10 @@ namespace UniversalValveToolbox {
private void linkLabelTI_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {
Process.Start("https://www.flaticon.com/authors/those-icons");
}
private void linkLabelSI_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("https://www.flaticon.com/authors/smashicons");
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -391,7 +391,7 @@ namespace UniversalValveToolbox {
string finalArg = $"-steam {selectedTool.Args}";
if (!finalArg.Contains("-game")) {
finalArg += $"-game \"{SelectedProject?.Path ?? string.Empty}\"";
finalArg += $" -game \"{SelectedProject?.Path ?? string.Empty}\" ";
}
Process.Start(toolPath, finalArg);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -74,8 +74,8 @@
//
// labelTranslationAthor
//
this.labelTranslationAthor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
resources.ApplyResources(this.labelTranslationAthor, "labelTranslationAthor");
this.labelTranslationAthor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.labelTranslationAthor.Name = "labelTranslationAthor";
//
// FormSettings

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -33,7 +33,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>valve.ico</ApplicationIcon>
<ApplicationIcon>toolbox.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
@ -56,9 +56,6 @@
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="squirrel.windows">
<Version>2.0.1</Version>
</PackageReference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
@ -207,15 +204,24 @@
<EmbeddedResource Include="UI\FormAbout.resx">
<DependentUpon>FormAbout.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormAbout.ru-RU.resx">
<DependentUpon>FormAbout.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormAbout.ru.resx">
<DependentUpon>FormAbout.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormAddons.resx">
<DependentUpon>FormAddons.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormAddons.ru-RU.resx">
<DependentUpon>FormAddons.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormAddons.ru.resx">
<DependentUpon>FormAddons.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormMain.ru-RU.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormMain.ru.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
@ -225,6 +231,9 @@
<EmbeddedResource Include="UI\FormMain.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormProjects.ru-RU.resx">
<DependentUpon>FormProjects.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormProjects.ru.resx">
<DependentUpon>FormProjects.cs</DependentUpon>
</EmbeddedResource>
@ -262,6 +271,9 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>MessageBoxes.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormSettings.ru-RU.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\FormSettings.ru.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
@ -364,6 +376,7 @@
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="toolbox.ico" />
<None Include="Resources\cancel_16.png" />
<None Include="Resources\checked_16.png" />
<None Include="Resources\human_16.png" />
@ -372,11 +385,11 @@
<None Include="Resources\info_16.png" />
<None Include="Resources\plug-silhouette_16.png" />
<None Include="Resources\run_16.png" />
<Content Include="steam_api\steam_api.dll">
<None Include="Resources\toolbox64.png" />
<Content Include="steam_api.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="steam_api\steam_api64.dll" />
<Content Include="valve.ico" />
<Content Include="steam_api64.dll" />
</ItemGroup>
<ItemGroup />
<ItemGroup>

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB