mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Merge pull request #700 from pedro2555/fix-write-log-file-option
Prevented log file creation when writeLogFile option is not set
This commit is contained in:
@@ -45,6 +45,9 @@ namespace mRemoteNG.App
|
||||
|
||||
private static string BuildLogFilePath()
|
||||
{
|
||||
if (!Settings.Default.WriteLogFile)
|
||||
return "";
|
||||
|
||||
#if !PORTABLE
|
||||
var logFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), Application.ProductName);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user