From 36c3f264be7d295ab539e7eb7744425b6fd3b8b7 Mon Sep 17 00:00:00 2001 From: Yoshi Askharoun Date: Mon, 15 Nov 2021 23:09:03 -0600 Subject: [PATCH] Use zuneupdate.com until resources.zunes.me is online --- ZuneModCore/Mods/WebservicesMod.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ZuneModCore/Mods/WebservicesMod.cs b/ZuneModCore/Mods/WebservicesMod.cs index 1be753e..76033ba 100644 --- a/ZuneModCore/Mods/WebservicesMod.cs +++ b/ZuneModCore/Mods/WebservicesMod.cs @@ -86,6 +86,7 @@ namespace ZuneModCore.Mods // Patch ZuneServices.dll to use the new host instead of zune.net zsDllReader.BaseStream.Position = ZUNESERVICES_ENDPOINTS_BLOCK_OFFSET; string endpointBlock = System.Text.Encoding.Unicode.GetString(zsDllReader.ReadBytes(ZUNESERVICES_ENDPOINTS_BLOCK_LENGTH)); + endpointBlock = endpointBlock.Replace("resources." + oldHost, "www.zuneupdate.com"); // Use zuneupdate.com until resources.zunes.me is online endpointBlock = endpointBlock.Replace(oldHost, newHost); byte[] endpointBytes = System.Text.Encoding.Unicode.GetBytes(endpointBlock); if (endpointBytes.Length != ZUNESERVICES_ENDPOINTS_BLOCK_LENGTH)