Code cleanup
This commit is contained in:
parent
4e9b161af8
commit
adc187f030
2 changed files with 5 additions and 5 deletions
|
@ -154,13 +154,13 @@ namespace CreamInstaller
|
|||
flowLayoutPanel1.Invoke((MethodInvoker)delegate
|
||||
{
|
||||
if (Program.Canceled) { return; }
|
||||
|
||||
|
||||
ProgramSelection selection = new();
|
||||
selection.ProgramName = node.Name;
|
||||
selection.ProgramDirectory = rootDirectory;
|
||||
selection.SteamApiDllDirectories = new();
|
||||
selection.SteamApiDllDirectories.AddRange(directories);
|
||||
|
||||
|
||||
foreach (INode _node in fileNodes)
|
||||
{
|
||||
if (_node.Type == NodeType.File && _node.ParentId == node.Id)
|
||||
|
@ -169,7 +169,7 @@ namespace CreamInstaller
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
CheckBox checkBox = new();
|
||||
checkBoxes.Add(checkBox);
|
||||
checkBox.AutoSize = true;
|
||||
|
@ -179,7 +179,7 @@ namespace CreamInstaller
|
|||
checkBox.Enabled = false;
|
||||
checkBox.TabStop = true;
|
||||
checkBox.TabIndex = 1 + checkBoxes.Count;
|
||||
|
||||
|
||||
checkBox.CheckedChanged += (sender, e) =>
|
||||
{
|
||||
selection.Toggle(checkBox.Checked);
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
<TargetPlatformMinVersion>10.0.14393.0</TargetPlatformMinVersion>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
|
||||
<EntryPointProjectUniqueName>..\CreamInstaller\CreamInstaller.csproj</EntryPointProjectUniqueName>
|
||||
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
|
||||
<PackageCertificateKeyFile>CreamInstallerPackagingProject_TemporaryKey.pfx</PackageCertificateKeyFile>
|
||||
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
|
||||
|
@ -64,6 +63,7 @@
|
|||
<GenerateTestArtifacts>True</GenerateTestArtifacts>
|
||||
<AppxBundlePlatforms>neutral</AppxBundlePlatforms>
|
||||
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
|
||||
<EntryPointProjectUniqueName>..\CreamInstaller\CreamInstaller.csproj</EntryPointProjectUniqueName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<AppxBundle>Always</AppxBundle>
|
||||
|
|
Loading…
Reference in a new issue