diff --git a/CreamInstaller/CreamInstaller.csproj b/CreamInstaller/CreamInstaller.csproj index cf35626..f64b759 100644 --- a/CreamInstaller/CreamInstaller.csproj +++ b/CreamInstaller/CreamInstaller.csproj @@ -5,7 +5,7 @@ True Resources\ini.ico true - 3.5.0.4 + 3.5.0.5 Resources\ini.ico LICENSE 2021, pointfeev (https://github.com/pointfeev) diff --git a/CreamInstaller/Forms/MainForm.cs b/CreamInstaller/Forms/MainForm.cs index 6713539..7b9ec46 100644 --- a/CreamInstaller/Forms/MainForm.cs +++ b/CreamInstaller/Forms/MainForm.cs @@ -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(); diff --git a/CreamInstaller/Forms/SelectDialogForm.cs b/CreamInstaller/Forms/SelectDialogForm.cs index 5e6d85d..1dbc5c9 100644 --- a/CreamInstaller/Forms/SelectDialogForm.cs +++ b/CreamInstaller/Forms/SelectDialogForm.cs @@ -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); } diff --git a/CreamInstaller/Properties/AssemblyInfo.cs b/CreamInstaller/Properties/AssemblyInfo.cs index 1276dfb..aa3b1b4 100644 --- a/CreamInstaller/Properties/AssemblyInfo.cs +++ b/CreamInstaller/Properties/AssemblyInfo.cs @@ -4,4 +4,4 @@ using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] -[assembly: NeutralResourcesLanguage("en")] \ No newline at end of file +[assembly: NeutralResourcesLanguage("en")] \ No newline at end of file diff --git a/CreamInstaller/Resources/SmokeAPI/steam_api.dll b/CreamInstaller/Resources/SmokeAPI/steam_api.dll index 35f8e39..2430325 100644 Binary files a/CreamInstaller/Resources/SmokeAPI/steam_api.dll and b/CreamInstaller/Resources/SmokeAPI/steam_api.dll differ diff --git a/CreamInstaller/Resources/SmokeAPI/steam_api64.dll b/CreamInstaller/Resources/SmokeAPI/steam_api64.dll index ec882f1..b957936 100644 Binary files a/CreamInstaller/Resources/SmokeAPI/steam_api64.dll and b/CreamInstaller/Resources/SmokeAPI/steam_api64.dll differ diff --git a/CreamInstaller/Steam/SteamCMD.cs b/CreamInstaller/Steam/SteamCMD.cs index 05a69da..a582e94 100644 --- a/CreamInstaller/Steam/SteamCMD.cs +++ b/CreamInstaller/Steam/SteamCMD.cs @@ -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; diff --git a/README.md b/README.md index 07360b3..1e1da97 100644 --- a/README.md +++ b/README.md @@ -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,