feat: improve indentation of About.xml

This commit is contained in:
Tobias Berger 2024-02-11 18:45:15 +01:00
parent 84bb67f0ec
commit 78eaa087a7
Signed by: toby
GPG key ID: 2D05EFAB764D6A88
2 changed files with 35 additions and 33 deletions

View file

@ -1,5 +1,6 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:output method="xml" encoding="utf-8" indent="yes"/>
<xsl:strip-space elements="*"/>
<!-- Match ModMetaData and its descendants, modify modVersion element -->
<xsl:template match="/Project/PropertyGroup/ModMetaData|ModMetaData/@*[not(name()='Id')]|ModMetaData//node()">
@ -20,4 +21,4 @@
<xsl:template match="@*|node()">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View file

@ -1,33 +1,34 @@
<?xml version="1.0"?>
<ModMetaData>
<packageId>dev.tobot.mod-template</packageId>
<name>Mod Template</name>
<authors>
<li>Toby</li>
</authors>
<description>A mod template.\nReady to build on NixOS.</description>
<supportedVersions>
<li>1.4</li>
</supportedVersions>
<modVersion IgnoreIfNoMatchingField="True">0.1.0.0</modVersion>
<url/>
<modDependencies/>
<modDependenciesByVersion>
<!-- <v1.4>
<li>
<packageId>brrainz.harmony</packageId>
<displayName>Harmony</displayName>
<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
</v1.4> -->
</modDependenciesByVersion>
<loadAfter/>
<loadAfterByVersion/>
<forceLoadAfter/>
<loadBefore/>
<loadBeforeByVersion/>
<forceLoadBefore/>
<incompatibleWith/>
<incompatibleWithByVersion/>
</ModMetaData>
<packageId>dev.tobot.mod-template</packageId>
<name>Mod Template</name>
<authors>
<li>Toby</li>
</authors>
<description>A mod template.\nReady to build on NixOS.</description>
<supportedVersions>
<li>1.4</li>
</supportedVersions>
<!-- Gets automatically populated with VersionPrefix (see above) -->
<modVersion IgnoreIfNoMatchingField="True">0.1.0.0</modVersion>
<url/>
<modDependencies/>
<modDependenciesByVersion>
<!-- <v1.4>
<li>
<packageId>brrainz.harmony</packageId>
<displayName>Harmony</displayName>
<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
</v1.4> -->
</modDependenciesByVersion>
<loadAfter/>
<loadAfterByVersion/>
<forceLoadAfter/>
<loadBefore/>
<loadBeforeByVersion/>
<forceLoadBefore/>
<incompatibleWith/>
<incompatibleWithByVersion/>
</ModMetaData>