Skip to content

Commit

Permalink
Merge pull request #781 from UnrealMultiple/auto-reload-plugin
Browse files Browse the repository at this point in the history
add plugin VBY.PluginLoaderAutoReload, allow empty readme path and remove Chireiden.TShock.Omni.Misc.md
  • Loading branch information
ACaiCat authored Feb 1, 2025
2 parents 2a8974f + 58e2e2a commit cf8d0bc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .config/submodule-manifests/VBY.PluginLoaderAutoReload.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"README": {
"READMEUrl": "https://github.com/UnrealMultiple/MyPlugin/blob/master/docs/VBY.PluginLoaderAutoReload.md",
"Description": "VBY.PluginLoader的扩展, 自动热重载插件"
}
}
8 changes: 7 additions & 1 deletion .config/submodule_build.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"name": "Chireiden.TShock.Omni.Misc",
"project_path": "src/Submodules/Yaaiomni/Misc/Misc.csproj",
"assembly_path": "src/Submodules/Yaaiomni/Misc/bin/{BuildType}/{TargetFramework}/Chireiden.TShock.Omni.Misc.dll",
"readme": "src/Submodules/Yaaiomni/README.md"
"readme": ""
},
{
"name": "FishShop",
Expand Down Expand Up @@ -59,6 +59,12 @@
"project_path": "src/Submodules/VBY.Plugins/src/VBY/OtherCommand/OtherCommand.csproj",
"assembly_path": "src/Submodules/VBY.Plugins/out/{BuildType}/VBY.OtherCommand.dll",
"readme": "src/Submodules/VBY.Plugins/docs/VBY.OtherCommand.md"
},
{
"name": "VBY.PluginLoaderAutoReload",
"project_path": "src/Submodules/VBY.Plugins/src/VBY/PluginLoaderAutoReload/PluginLoaderAutoReload.csproj",
"assembly_path": "src/Submodules/VBY.Plugins/out/{BuildType}/VBY.PluginLoaderAutoReload.dll",
"readme": "src/Submodules/VBY.Plugins/docs/VBY.PluginLoaderAutoReload.md"
}
]
}
4 changes: 3 additions & 1 deletion scripts/submodule_build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ foreach($submodule in $jsonContent.submodules)
$pdb = $assembly_path -replace '.dll', '.pdb'
Copy-Item -Path $assembly_path -Destination $(Join-Repo-Root 'SubmoduleAssembly')
Copy-Item -Path $pdb -Destination $(Join-Repo-Root 'SubmoduleAssembly')
Copy-Item -Path $(Join-Repo-Root $submodule.readme) -Destination $(Join-Repo-Root 'SubmoduleAssembly' ($submodule.name + ".md"))
if (-not [string]::IsNullOrEmpty($submodule.readme)) {
Copy-Item -Path $(Join-Repo-Root $submodule.readme) -Destination $(Join-Repo-Root 'SubmoduleAssembly' ($submodule.name + ".md"))
}
}

0 comments on commit cf8d0bc

Please sign in to comment.