Shell: add JSON config support

This commit is contained in:
李通洲
2023-06-01 11:37:52 +08:00
committed by 李通洲
parent fa28529308
commit 786d538276
14 changed files with 140 additions and 58 deletions
@@ -353,7 +353,7 @@ const FFTerminalShellResult* ffDetectTerminalShell(const FFinstance* instance)
getUserShellFromEnv(instance, &result);
ffStrbufClear(&result.shellVersion);
if(instance->config.shellVersion)
if(instance->config.shell.version)
{
getShellVersion(&result.shellExe, result.shellExeName, &result.shellVersion);