diff --git a/lib/common/src/version.h b/lib/common/src/version.h index df915e12..89d6ef47 100644 --- a/lib/common/src/version.h +++ b/lib/common/src/version.h @@ -7,4 +7,4 @@ #pragma once -#define NCHAT_VERSION "4.09" +#define NCHAT_VERSION "4.10" diff --git a/lib/ncutil/src/fileutil.cpp b/lib/ncutil/src/fileutil.cpp index affa0a10..59f00acc 100644 --- a/lib/ncutil/src/fileutil.cpp +++ b/lib/ncutil/src/fileutil.cpp @@ -129,6 +129,11 @@ std::string FileUtil::GetDownloadsDir() if (!m_DownloadsDir.empty()) { std::string downloadsDir = FileUtil::ExpandPath(m_DownloadsDir); + if (!FileUtil::IsDir(downloadsDir)) + { + FileUtil::MkDir(downloadsDir); + } + if (FileUtil::IsDir(downloadsDir)) { return downloadsDir; diff --git a/src/nchat.1 b/src/nchat.1 index ac6a400e..406fafbe 100644 --- a/src/nchat.1 +++ b/src/nchat.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man. -.TH NCHAT "1" "December 2023" "nchat v4.09" "User Commands" +.TH NCHAT "1" "December 2023" "nchat v4.10" "User Commands" .SH NAME nchat \- ncurses chat .SH SYNOPSIS