chore: drop the stale README copies in JotunnModStub

The root README is the one players get: package.ps1 and nexus-readme.py
read it. JotunnModStub/README.md and Package/README.md had drifted for
versions, and edits kept landing in them by mistake. Both are gone. The
csproj links the root README, the publish scripts copy it into Package/
at release, and that generated copy is ignored.
This commit is contained in:
kanym 2026-10-26 16:04:26 +01:00
commit 1051324b56
6 changed files with 8 additions and 275 deletions

View file

@ -62,7 +62,8 @@ if($Target.Equals("Release")) {
Write-Host "$PackagePath\$TargetAssembly"
New-Item -Type Directory -Path "$PackagePath\plugins" -Force
Copy-Item -Path "$TargetPath\$TargetAssembly" -Destination "$PackagePath\plugins\$TargetAssembly" -Force
Copy-Item -Path "$ProjectPath\README.md" -Destination "$PackagePath\README.md" -Force
# The root README is the one players see; the project folder no longer keeps a copy.
Copy-Item -Path "$ProjectPath\..\README.md" -Destination "$PackagePath\README.md" -Force
Compress-Archive -Path "$PackagePath\*" -DestinationPath "$TargetPath\$name.zip" -Force
}

View file

@ -59,7 +59,8 @@ if [ "$target" = "Release" ]; then
packagePath="$projectPath/Package"
mkdir -p "$packagePath/plugins"
cp "$targetPath/$targetAssembly" "$packagePath/plugins/"
cp "$projectPath/README.md" "$packagePath/"
# The root README is the one players see; the project folder no longer keeps a copy.
cp "$projectPath/../README.md" "$packagePath/"
if command -v zip > /dev/null; then
[ -e "$name.zip" ] && rm "$name.zip"