Skip to content

Commit

Permalink
Fixups for icon file names
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensley committed Dec 19, 2024
1 parent 4efc1c3 commit d675fdc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@
{
"condition": "ComponentClassName == 'MyGrasshopper__1Component'",
"rename": {
"MyGrasshopper__1Component.cs": "MyGrasshopper.1Component.cs"
"MyGrasshopper__1Component.cs": "MyGrasshopper.1Component.cs",
"MyGrasshopper__1Component.3dm": "MyGrasshopper.1Component.3dm",
"MyGrasshopper__1Component.ghicon": "MyGrasshopper.1Component.ghicon"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public MyGrasshopper__1PluginInfo()
GetAttribute<AssemblyDescriptionAttribute>()?.Description),
typeof(MyGrasshopper__1PluginInfo).Assembly.GetName().Version)
{
Icon = AbstractIcon.FromResource("MyGrasshopper__1Plugin", typeof(MyGrasshopper__1PluginInfo));
Icon = AbstractIcon.FromResource("MyGrasshopper.1Plugin", typeof(MyGrasshopper__1PluginInfo));
}

public override string Author => GetAttribute<AssemblyCompanyAttribute>()?.Company;
Expand Down
2 changes: 1 addition & 1 deletion build/GenerateTemplates.proj
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
<GH2IncludeSample Include="Sample" Value="-sample" />

<GH2WithName Include="DefaultName" Value="" />
<GH2WithName Include="CustonName" Value='-component MyComponentClassName -cname "MyComponent Name" -info MyDescription -ch MyChapter -sec MySection --addon-display-name="My-Addon-Name"' />
<GH2WithName Include="CustonName" Value='-component MyComponentClassName -cname "MyComponent Name" -info MyDescription -ch MyChapter -sec MySection --plugin-display-name="My-Plugin-Name"' />

<GH2Options2 Include="*" DesktopId="%(Desktop.Identity)" Desktop="%(Desktop.Value)" />
<GH2Options1 Include="@(GH2Options2)" WithNameId="%(GH2WithName.Identity)" WithName="%(GH2WithName.Value)" />
Expand Down

0 comments on commit d675fdc

Please sign in to comment.