From a5e10d23334e1333ea47bdabe640e753563c5eb8 Mon Sep 17 00:00:00 2001 From: Raicuparta Date: Tue, 26 Apr 2022 14:20:00 +0200 Subject: [PATCH] overwrite liv bridge dll --- GorillaTagLIVPreload/Preload.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/GorillaTagLIVPreload/Preload.cs b/GorillaTagLIVPreload/Preload.cs index a1ea71a..24b82d4 100644 --- a/GorillaTagLIVPreload/Preload.cs +++ b/GorillaTagLIVPreload/Preload.cs @@ -15,12 +15,7 @@ public static void Patch(AssemblyDefinition assembly) var patchersPath = Path.GetDirectoryName(executablePath); var pluginPath = Path.Combine(patchersPath, "../../../Gorilla Tag_Data/Plugins/x86_64/LIV_Bridge.dll"); - if (File.Exists(pluginPath)) - { - return; - } - - File.Copy(Path.Combine(patchersPath, "LIV_Bridge.dll"), pluginPath); + File.Copy(Path.Combine(patchersPath, "LIV_Bridge.dll"), pluginPath, true); } } } \ No newline at end of file