get_paths = (user) => {
  const me = os.userInfo().username;
  let configFileDir = envPaths("", { suffix: "" }).config;
  if (me === "root")
    configFileDir = configFileDir.replace("/root/", `/home/${user}/`);
  else if (me !== user)
    configFileDir = configFileDir.replace(`/${me}/`, `/${user}/`);

  const configFilePath = path.join(configFileDir, ".saltcorn");
  return { configFileDir, configFilePath };
}
Define saltcorn config dir and path
@param user
@returns {{configFilePath: string, configFileDir: string}}