- Very minor refactoring
- Updated SmokeAPI to v1.0.3
This commit is contained in:
pointfeev 2022-06-02 19:02:45 -05:00
parent ca20de6245
commit 4a2861c364
8 changed files with 20 additions and 14 deletions

View file

@ -5,7 +5,7 @@
<UseWindowsForms>True</UseWindowsForms>
<ApplicationIcon>Resources\ini.ico</ApplicationIcon>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<Version>3.5.0.4</Version>
<Version>3.5.0.5</Version>
<PackageIcon>Resources\ini.ico</PackageIcon>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Copyright>2021, pointfeev (https://github.com/pointfeev)</Copyright>

View file

@ -110,8 +110,10 @@ internal partial class MainForm : CustomForm
{
Program.Invoke(changelogTreeView, delegate
{
TreeNode change = new();
change.Text = HttpUtility.HtmlDecode(node.InnerText);
TreeNode change = new()
{
Text = HttpUtility.HtmlDecode(node.InnerText)
};
root.Nodes.Add(change);
root.Expand();
if (changelogTreeView.Nodes.Count > 0) changelogTreeView.Nodes[0].EnsureVisible();

View file

@ -24,11 +24,13 @@ internal partial class SelectDialogForm : CustomForm
selectionTreeView.AfterCheck += OnTreeNodeChecked;
foreach ((string platform, string id, string name, bool alreadySelected) in choices)
{
TreeNode node = new();
node.Tag = platform;
node.Name = id;
node.Text = name;
node.Checked = alreadySelected;
TreeNode node = new()
{
Tag = platform,
Name = id,
Text = name,
Checked = alreadySelected
};
OnTreeNodeChecked(node);
selectionTreeView.Nodes.Add(node);
}

View file

@ -4,4 +4,4 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: NeutralResourcesLanguage("en")]
[assembly: NeutralResourcesLanguage("en")]

View file

@ -131,10 +131,12 @@ internal static class SteamCMD
}
if (!File.Exists(DllPath))
{
FileSystemWatcher watcher = new(DirectoryPath);
watcher.Filter = "*";
watcher.IncludeSubdirectories = true;
watcher.EnableRaisingEvents = true;
FileSystemWatcher watcher = new(DirectoryPath)
{
Filter = "*",
IncludeSubdirectories = true,
EnableRaisingEvents = true
};
if (File.Exists(DllPath)) progress.Report(-15); // update (not used at the moment)
else progress.Report(-1660); // install
int cur = 0;

View file

@ -5,7 +5,7 @@
###### Refer to [this post](https://cs.rin.ru/forum/viewtopic.php?f=29&t=122487) and/or [this repository](https://github.com/acidicoala/SmokeAPI) if you don't know what SmokeAPI is! ;;)
###### Refer to [this post](https://cs.rin.ru/forum/viewtopic.php?f=29&t=106474) and/or [this repository](https://github.com/acidicoala/ScreamAPI) if you don't know what ScreamAPI is! ;)
###### The program utilizes SmokeAPI v1.0.2 and ScreamAPI v3.0.1 downloaded from those posts and embedded into the program itself; no download necessary on your part!
###### The program utilizes SmokeAPI v1.0.3 and ScreamAPI v3.0.1 downloaded from those posts and embedded into the program itself; no download necessary on your part!
---
#### Description:
Automatically finds all installed Steam/Epic games and their respective Steamworks/Epic Online Services DLL locations on the user's computer,