From 4d95e0ee5390e5ac75c479bb4e0ddb9872f8dff1 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 7 Aug 2024 07:00:57 +0100 Subject: [PATCH] yes --- .gitea/workflows/release-mod.yml | 3 +- ...ry.Build.props => Directory.Build.props.d} | 0 Mod/Directory.Build.targets | 101 ++++++++++++++++++ 3 files changed, 102 insertions(+), 2 deletions(-) rename Mod/{Directory.Build.props => Directory.Build.props.d} (100%) create mode 100644 Mod/Directory.Build.targets diff --git a/.gitea/workflows/release-mod.yml b/.gitea/workflows/release-mod.yml index 9c28606..ae9045f 100644 --- a/.gitea/workflows/release-mod.yml +++ b/.gitea/workflows/release-mod.yml @@ -48,8 +48,7 @@ jobs: name: ${{ steps.Build.outputs.filename }} path: ${{ steps.Build.outputs.artifactpath }} - - name: Use Go Action - id: use-go-action + - name: Release Mod uses: https://gitea.com/actions/release-action@main with: files: ./${{ steps.Build.outputs.filename }}.zip diff --git a/Mod/Directory.Build.props b/Mod/Directory.Build.props.d similarity index 100% rename from Mod/Directory.Build.props rename to Mod/Directory.Build.props.d diff --git a/Mod/Directory.Build.targets b/Mod/Directory.Build.targets new file mode 100644 index 0000000..2418059 --- /dev/null +++ b/Mod/Directory.Build.targets @@ -0,0 +1,101 @@ + + + + + 2.0 + + false + + $(OutputPath)$(AssemblyName) + + $(OutputPath)Final + True + + + + + + + + + + + + + + + + $(BasePluginVersion) + $(BasePluginVersion) + $(BasePluginVersion) + + + + + + + + + $(AssemblyName) + $(ArtifactName)-$(PluginVersion) + $(ArtifactName)-bs$(GameVersion) + $(ArtifactName)-$(CommitHash) + + + + + + + $(AssemblyName) + + + + + + + + + + + + + + $(AssemblyName) + $(OutDir)zip\ + + + + + + + + + + + + + $(BeatSaberDir)\Plugins + True + Unable to copy assembly to game folder, did you set 'BeatSaberDir' correctly in your 'csproj.user' file? Plugins folder doesn't exist: '$(PluginDir)'. + + Unable to copy to Plugins folder, '$(BeatSaberDir)' does not appear to be a Beat Saber game install. + + Unable to copy to Plugins folder, 'BeatSaberDir' has not been set in your 'csproj.user' file. + False + + + + + + + + $(BeatSaberDir)\IPA\Pending\Plugins + + + + + + + + \ No newline at end of file