From 854aff1c4f8a167189fe1a68d1b522ac40cbf0db Mon Sep 17 00:00:00 2001 From: Hamunii <samuel.suni04@gmail.com> Date: Mon, 26 Aug 2024 14:03:36 +0300 Subject: [PATCH] fix: EnemyAI to EnemyAPI for publish stuff --- .vscode/tasks.json | 2 +- artifacts/tspublish/{EnemyAI => EnemyAPI}/icon.png | Bin .../{EnemyAI => EnemyAPI}/thunderstore.toml | 2 +- .../Properties/PublishProfiles/Thunderstore.pubxml | 6 +++--- 4 files changed, 5 insertions(+), 5 deletions(-) rename artifacts/tspublish/{EnemyAI => EnemyAPI}/icon.png (100%) rename artifacts/tspublish/{EnemyAI => EnemyAPI}/thunderstore.toml (95%) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b45f46f..c05c6a7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -23,7 +23,7 @@ { "label": "Dry-run package test", "type": "shell", - "command": "dotnet tool run tcli build --config-path ./artifacts/tspublish/Core/thunderstore.toml; dotnet tool run tcli build --config-path ./artifacts/tspublish/EnemyAI/thunderstore.toml", + "command": "dotnet tool run tcli build --config-path ./artifacts/tspublish/Core/thunderstore.toml; dotnet tool run tcli build --config-path ./artifacts/tspublish/EnemyAPI/thunderstore.toml", "problemMatcher": [] } ] diff --git a/artifacts/tspublish/EnemyAI/icon.png b/artifacts/tspublish/EnemyAPI/icon.png similarity index 100% rename from artifacts/tspublish/EnemyAI/icon.png rename to artifacts/tspublish/EnemyAPI/icon.png diff --git a/artifacts/tspublish/EnemyAI/thunderstore.toml b/artifacts/tspublish/EnemyAPI/thunderstore.toml similarity index 95% rename from artifacts/tspublish/EnemyAI/thunderstore.toml rename to artifacts/tspublish/EnemyAPI/thunderstore.toml index 6599077..57422c4 100644 --- a/artifacts/tspublish/EnemyAI/thunderstore.toml +++ b/artifacts/tspublish/EnemyAPI/thunderstore.toml @@ -5,7 +5,7 @@ [package] #Edit this in the CSPROJ instead, the workflow will automate copying #it here for you - description="The EnemyAI Module of ContentLib." + description="The EnemyAPI Module of ContentLib." #Change this to true if your mod has any NSFW content. Please follow the rules #on image and text content on your listing or your package may be removed diff --git a/src/ContentLib.EnemyAPI/Properties/PublishProfiles/Thunderstore.pubxml b/src/ContentLib.EnemyAPI/Properties/PublishProfiles/Thunderstore.pubxml index 15c73b0..12c127f 100644 --- a/src/ContentLib.EnemyAPI/Properties/PublishProfiles/Thunderstore.pubxml +++ b/src/ContentLib.EnemyAPI/Properties/PublishProfiles/Thunderstore.pubxml @@ -12,7 +12,7 @@ <LastUsedPlatform>Any CPU</LastUsedPlatform> <LaunchSiteAfterPublish>False</LaunchSiteAfterPublish> <MSDeployPublishMethod>FileSystem</MSDeployPublishMethod> - <PublishDir>$(SolutionDir)\artifacts\tspublish\EnemyAI\dist\plugins</PublishDir> + <PublishDir>$(SolutionDir)\artifacts\tspublish\EnemyAPI\dist\plugins</PublishDir> <PublishFramework>$(TargetFramework)</PublishFramework> <PublishProtocol>FileSystem</PublishProtocol> <SkipACLAttribute>True</SkipACLAttribute> @@ -43,14 +43,14 @@ </ItemGroup> <Copy - DestinationFolder="$(SolutionDir)\artifacts\tspublish\EnemyAI\dist" + DestinationFolder="$(SolutionDir)\artifacts\tspublish\EnemyAPI\dist" SourceFiles="@(PackageFiles)" /> <Exec Command='dotnet tcli publish --package-name "$(Product)" --package-namespace "$(Authors)" --package-version "$(PACKAGE_VERSION)"' ConsoleToMSBuild="true" - WorkingDirectory="$(SolutionDir)\artifacts\tspublish\EnemyAI" + WorkingDirectory="$(SolutionDir)\artifacts\tspublish\EnemyAPI" /> </Target>