mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-26 12:08:37 +08:00
last fix to ensure loading correct settings file
This commit is contained in:
@@ -8,7 +8,7 @@ namespace mRemoteNG.App.Info
|
||||
public class SettingsFileInfo
|
||||
{
|
||||
public static readonly string exe = Assembly.GetExecutingAssembly().GetName().CodeBase;
|
||||
public static readonly string exePath = Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).AbsolutePath);
|
||||
public static readonly string exePath = Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).LocalPath);
|
||||
#if !PORTABLE
|
||||
public static readonly string SettingsPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData) + "\\" + Application.ProductName;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user