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: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 --> <!-- Match ModMetaData and its descendants, modify modVersion element -->
<xsl:template match="/Project/PropertyGroup/ModMetaData|ModMetaData/@*[not(name()='Id')]|ModMetaData//node()"> <xsl:template match="/Project/PropertyGroup/ModMetaData|ModMetaData/@*[not(name()='Id')]|ModMetaData//node()">

View file

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