Skip to content

Commit

Permalink
Fix detecting feature state
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbar committed Jul 15, 2024
1 parent b2b9f5f commit 5cef6d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
version:
description: 'Build & package version'
required: true
default: 0.2.0
default: 0.2.1
type: string
jobs:
Build:
Expand Down
6 changes: 5 additions & 1 deletion MsiZapEx/ProductInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,11 @@ private void Read(string obfuscatedGuid, bool? machineScope)
{
if (!string.IsNullOrEmpty(f) && !f.Equals("@"))
{
Features.Add(f);
string v = k.GetValue(f) as string;
if ((v != null) && ((v.Length == 0) || char.IsLetter(v[0])))
{
Features.Add(f);
}
}
}
}
Expand Down

0 comments on commit 5cef6d5

Please sign in to comment.