Files
Polonium.Godot.Patcher/README.md
2025-03-07 16:31:40 +00:00

32 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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).