remove OpenSSL
This commit is contained in:
@@ -4,9 +4,6 @@ using Shadowsocks.View;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@@ -14,8 +11,6 @@ namespace Shadowsocks
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
[DllImport("Kernel32.dll")]
|
||||
private static extern IntPtr LoadLibrary(string path);
|
||||
|
||||
/// <summary>
|
||||
/// 应用程序的主入口点。
|
||||
@@ -35,17 +30,6 @@ namespace Shadowsocks
|
||||
MessageBox.Show("Shadowsocks is already running.\n\nFind Shadowsocks icon in your notify tray.");
|
||||
return;
|
||||
}
|
||||
string tempPath = Path.GetTempPath();
|
||||
string dllPath = tempPath + "/polarssl.dll";
|
||||
try
|
||||
{
|
||||
FileManager.UncompressFile(dllPath, Resources.polarssl_dll);
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
Console.WriteLine(e.ToString());
|
||||
}
|
||||
LoadLibrary(dllPath);
|
||||
|
||||
#if !DEBUG
|
||||
Logging.OpenLogFile();
|
||||
|
||||
Reference in New Issue
Block a user