cleaninstall patch stub implemented (to trick existing instalations into thinking they have this patch installed)

main
Inga 🏳‍🌈 12 years ago
parent ca126e368a
commit e5bfaa061a
  1. 2
      Builder/IISMainHandler/build.txt
  2. 3
      FLocal.Patcher.Common/FLocal.Patcher.Common.csproj
  3. 9
      FLocal.Patcher.Common/Resources/Patch_00000_cleaninstall.xml
  4. 1
      Patcher/Data/Patch/AtomicPatch.cs

@ -65,6 +65,9 @@
<Name>Web.Core</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Patch_00000_cleaninstall.xml" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<patch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\Patcher\Resources\IPatch.xsd">
<version>
<number>0</number>
<author>cleaninstall</author>
</version>
<strictCommandSet>
</strictCommandSet>
</patch>

@ -51,7 +51,6 @@ namespace Patcher.Data.Patch
}
rollbackInfos.Add(new XElement("command", new XAttribute("num", i), commandRollbackInfoContent));
}
throw new ApplicationException("safety switch");
return new XDocument(new XElement("rollbackInfo", rollbackInfos.ToArray()));
}

Loading…
Cancel
Save