add: README

This commit is contained in:
h z
2025-03-07 16:31:40 +00:00
parent 097702a478
commit 74c7cd4de6
2 changed files with 33 additions and 0 deletions

2
.gitignore vendored
View File

@@ -4,3 +4,5 @@ obj/
riderModule.iml riderModule.iml
/_ReSharper.Caches/ /_ReSharper.Caches/
/VersionInfo.props /VersionInfo.props
/summerizer
/NuGet.config

31
README.md Normal file
View File

@@ -0,0 +1,31 @@
# Polonium.Godot.Patcher
**Project Description**
Polonium.Godot.Patcher is a specialized tool designed for Godot C# projects, focusing on modifying or patching certain assemblies to preserve your custom .NET SDK configurations. At present, its core functionality is to patch the `GodotTools.ProjectEditor.dll` within the Godot Editors `GodotSharp/Tools` directory. This ensures that the editor does not override your C# projects SDK settings.
**Key Feature**
- **Patch for `GodotTools.ProjectEditor.dll`**: Prevents the Godot editor from rewriting the project SDK, giving you more control over your build environment.
**Installation**
1. Obtain `Polonium.Godot.Patcher` from this repository or through a package feed.
**Build**
```bash
dotnet build Polonium.Godot.Patcher.csproj
chmod +x ./publish
./publish
```
This produces an AppImage or other executable depending on your configuration.
**Usage**
1. Locate the `GodotTools.ProjectEditor.dll` file in your Godot installation (usually under `GodotSharp/Tools`).
2. Place the resulting AppImage (or binary) in the same directory as `GodotTools.ProjectEditor.dll`.
3. Run the patcher in a terminal:
```bash
./PoloniumGodotPatcher.AppImage
```
Upon execution, the patcher modifies `GodotTools.ProjectEditor.dll` to prevent the editor from altering your C# project SDK settings.
**License**
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).