Skip to content

Commit

Permalink
BuiltIn Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kitUIN committed Jul 3, 2024
1 parent 1fe1bc3 commit 675c29d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ShadowPluginLoader.Tool/Assets/build/Plugin.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<Import Project="$(MSBuildThisFileDirectory)Plugin.Build.props" Condition="!Exists('$(ProjectDir)Plugin.Build.props')"/>
<ItemGroup>
<AdditionalFiles Include="$(ProjectDir)plugin.d.json"/>
</ItemGroup>
<ItemGroup Condition="!$(BuiltIn)">
<AdditionalFiles Include="$(ProjectDir)plugin.json" CopyToOutputDirectory="PreserveNewest"/>
</ItemGroup>
<!-- Read Meta Data Then Convert To PluginJsonFile Before Build -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<IsPluginLoader Condition="$(IsPluginLoader) == ''">false</IsPluginLoader>
<IsPlugin Condition="$(IsPlugin) == ''">false</IsPlugin>
<AutoGenerateI18N Condition="$(AutoGenerateI18N) == ''">true</AutoGenerateI18N>
<BuiltIn Condition="$(BuiltIn) == ''">false</BuiltIn>
</PropertyGroup>
<PropertyGroup>
<ToolExeFile>$(MSBuildThisFileDirectory)ShadowPluginLoader.Tool.dll</ToolExeFile>
Expand Down
4 changes: 3 additions & 1 deletion ShadowPluginLoader.Tool/Assets/build/Tools.Config.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<IsPluginLoader>false</IsPluginLoader>
<!-- Whether the current project is a Plugin -->
<IsPlugin>false</IsPlugin>
<!-- Auto Pack Plugin -->
<!-- Whether the current project is a built-in Plugin -->
<BuiltIn>false</BuiltIn>
<!-- Auto Pack Plugin When IsPlugin == True-->
<AutoPluginPackage>true</AutoPluginPackage>
<!-- Auto Generate I18N -->
<AutoGenerateI18N>true</AutoGenerateI18N>
Expand Down
2 changes: 1 addition & 1 deletion ShadowPluginLoader.Tool/ShadowPluginLoader.Tool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoWarn>NU5128;NU5129</NoWarn>

<Version>1.0.4.0</Version>
<Version>1.0.5.1</Version>
<PackageId>ShadowPluginLoader.Tool</PackageId>
<Owner>kitUIN</Owner>
<Authors>kitUIN</Authors>
Expand Down

0 comments on commit 675c29d

Please sign in to comment.