improve: remove unused method
This commit is contained in:
18
Program.cs
18
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 "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user