mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
IDE fixes
This commit is contained in:
parent
5da74382d4
commit
76094437cb
2 changed files with 8 additions and 2 deletions
|
@ -7479,6 +7479,7 @@ namespace IDE
|
||||||
startInfo.CreateNoWindow = true;
|
startInfo.CreateNoWindow = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if BF_PLATFORM_WINDOWS
|
||||||
if (runFlags.HasFlag(.ShellCommand))
|
if (runFlags.HasFlag(.ShellCommand))
|
||||||
{
|
{
|
||||||
String shellArgs = scope .();
|
String shellArgs = scope .();
|
||||||
|
@ -7489,6 +7490,7 @@ namespace IDE
|
||||||
startInfo.SetFileName("cmd.exe");
|
startInfo.SetFileName("cmd.exe");
|
||||||
startInfo.SetArguments(shellArgs);
|
startInfo.SetArguments(shellArgs);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (envVars != null)
|
if (envVars != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -60,8 +60,12 @@ namespace IDE
|
||||||
{
|
{
|
||||||
if (wordResult case .Err)
|
if (wordResult case .Err)
|
||||||
break;
|
break;
|
||||||
AddWord(wordResult);
|
if (wordResult.Value.IsEmpty)
|
||||||
mCustomDictionaryWordList.Add(new String(wordResult));
|
continue;
|
||||||
|
String wordStr = new String(wordResult);
|
||||||
|
AddWord(wordStr);
|
||||||
|
if (!mCustomDictionaryWordList.Add(wordStr))
|
||||||
|
delete wordStr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue