add portable mode
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Shadowsocks.Controller;
|
||||
using Shadowsocks.Properties;
|
||||
using Shadowsocks.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
@@ -18,7 +19,7 @@ namespace Shadowsocks.Encryption
|
||||
|
||||
static PolarSSL()
|
||||
{
|
||||
string tempPath = Path.GetTempPath();
|
||||
string tempPath = Utils.GetTempPath();
|
||||
string dllPath = tempPath + "/libsscrypto.dll";
|
||||
try
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using Shadowsocks.Controller;
|
||||
using Shadowsocks.Properties;
|
||||
using Shadowsocks.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
@@ -14,7 +15,7 @@ namespace Shadowsocks.Encryption
|
||||
|
||||
static Sodium()
|
||||
{
|
||||
string tempPath = Path.GetTempPath();
|
||||
string tempPath = Utils.GetTempPath();
|
||||
string dllPath = tempPath + "/libsscrypto.dll";
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user