From c393dace7c71432c509a4faf2f05875ee54951d4 Mon Sep 17 00:00:00 2001 From: raphaeIl Date: Thu, 30 May 2024 00:08:46 +0800 Subject: [PATCH] oops why is password still there --- SCHALE.GameServer/Services/ExcelTableService.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/SCHALE.GameServer/Services/ExcelTableService.cs b/SCHALE.GameServer/Services/ExcelTableService.cs index 3d63def..061698e 100644 --- a/SCHALE.GameServer/Services/ExcelTableService.cs +++ b/SCHALE.GameServer/Services/ExcelTableService.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; using Google.FlatBuffers; using Ionic.Zip; using SCHALE.Common.Crypto; -using Serilog; namespace SCHALE.GameServer.Services { @@ -62,7 +61,6 @@ namespace SCHALE.GameServer.Services byte[] content = await response.Content.ReadAsByteArrayAsync(); File.WriteAllBytes(zipPath, content); using ZipFile zip = ZipFile.Read(zipPath); - //zip.Password = "/wy5f3hIGGXLOIUDS9DZ"; zip.Password = Convert.ToBase64String(TableService.CreatePassword(Path.GetFileName(filePath))); foreach (ZipEntry e in zip)