We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1860963 commit 36c3f26Copy full SHA for 36c3f26
1 file changed
ZuneModCore/Mods/WebservicesMod.cs
@@ -86,6 +86,7 @@ public class WebservicesMod : Mod
86
// Patch ZuneServices.dll to use the new host instead of zune.net
87
zsDllReader.BaseStream.Position = ZUNESERVICES_ENDPOINTS_BLOCK_OFFSET;
88
string endpointBlock = System.Text.Encoding.Unicode.GetString(zsDllReader.ReadBytes(ZUNESERVICES_ENDPOINTS_BLOCK_LENGTH));
89
+ endpointBlock = endpointBlock.Replace("resources." + oldHost, "www.zuneupdate.com"); // Use zuneupdate.com until resources.zunes.me is online
90
endpointBlock = endpointBlock.Replace(oldHost, newHost);
91
byte[] endpointBytes = System.Text.Encoding.Unicode.GetBytes(endpointBlock);
92
if (endpointBytes.Length != ZUNESERVICES_ENDPOINTS_BLOCK_LENGTH)
0 commit comments