Skip to content

Commit 4ba3b40

Browse files
committed
AppMan improvements and appman config tweak...
1 parent 3386b8e commit 4ba3b40

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

External/Tools/AppMan/MainForm.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,10 +594,20 @@ private void BundleLinkLabelLinkClicked(Object sender, LinkLabelLinkClickedEvent
594594
{
595595
if (this.isLoading) return;
596596
this.listView.BeginUpdate();
597+
Boolean is64bit = Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE", EnvironmentVariableTarget.Machine) != "x86";
597598
foreach (ListViewItem item in this.listView.Items)
598599
{
599600
DepEntry entry = item.Tag as DepEntry;
600-
if (Array.IndexOf(entry.Bundles, e.Link.LinkData.ToString()) != -1) item.Checked = true;
601+
if (Array.IndexOf(entry.Bundles, e.Link.LinkData.ToString()) != -1)
602+
{
603+
if (!entry.Name.Contains("(x86)") && !entry.Name.Contains("(x64)")) item.Checked = true;
604+
else
605+
{
606+
if (!is64bit && entry.Name.Contains("(x86)")) item.Checked = true;
607+
else if (is64bit && entry.Name.Contains("(x64)")) item.Checked = true;
608+
else item.Checked = false;
609+
}
610+
}
601611
else item.Checked = false;
602612
}
603613
this.listView.EndUpdate();
0 Bytes
Binary file not shown.

appman.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
</Urls>
168168
</Entry>
169169
<Entry>
170-
<Id>torgit</Id>
170+
<Id>torgit64</Id>
171171
<Name>TortoiseGit (x64)</Name>
172172
<Version>1.8.13</Version>
173173
<Build>1</Build>
@@ -215,7 +215,7 @@
215215
</Urls>
216216
</Entry>
217217
<Entry>
218-
<Id>torsvn</Id>
218+
<Id>torsvn64</Id>
219219
<Name>TortoiseSVN (x64)</Name>
220220
<Version>1.8.10</Version>
221221
<Build>1</Build>

0 commit comments

Comments
 (0)