From 64bb72994d1d0a099361eb831ad7cec80bc54bc8 Mon Sep 17 00:00:00 2001 From: hzhang Date: Fri, 21 Feb 2025 09:24:28 +0000 Subject: [PATCH] improve: remove unused method --- Program.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Program.cs b/Program.cs index beef637..2b6b782 100644 --- a/Program.cs +++ b/Program.cs @@ -148,22 +148,4 @@ public class Program assembly.Write($"{dllPath}.2.dll"); File.Replace($"{dllPath}.2.dll", dllPath, null); } - - - private static string GetAppImagePath() - { - try - { - string exePath = "/proc/self/exe"; - if (File.Exists(exePath)) - { - return Path.GetFullPath(new FileInfo(exePath).FullName); - } - } - catch (Exception ex) - { - return ""; - } - return ""; - } } \ No newline at end of file