diff --git a/INSTALL.md b/INSTALL.md index d32406c8..b40d8b67 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -216,7 +216,7 @@ Only 64-bit MSVC build can be compiled. **Set up** -- macOS minimum version 10.13 +- macOS minimum version 10.15 - install python3 - download xcode - install Qt 6.2 diff --git a/resources/Info.plist b/resources/Info.plist index d58f6a63..19dec665 100644 --- a/resources/Info.plist +++ b/resources/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString ${MACOSX_BUNDLE_SHORT_VERSION_STRING} LSMinimumSystemVersion - 10.14 + 10.15 CFBundleVersion ${MACOSX_BUNDLE_BUNDLE_VERSION} LSApplicationCategoryType diff --git a/sparkle/sparkle-xml-updater.sh b/sparkle/sparkle-xml-updater.sh index de6c1752..ddfd2221 100755 --- a/sparkle/sparkle-xml-updater.sh +++ b/sparkle/sparkle-xml-updater.sh @@ -36,7 +36,7 @@ cat << EOFILE > ${REPO_FOLDER}/${SPARKLE_FILE} $DATE_RFC2822 ${BUILD} ${VERSION} - 10.14.0 + 10.15.0 $(echo -e "${ITEMS}") diff --git a/src/libclient/containerview.h b/src/libclient/containerview.h index b3e31d97..5cfc4604 100644 --- a/src/libclient/containerview.h +++ b/src/libclient/containerview.h @@ -266,14 +266,7 @@ private: // Hard unbox and unwrap underlying data container. const BaseType& data() { - //this fix error when build for macOS 10.13(error: 'value' is unavailable: introduced in macOS 10.14) - #ifdef __APPLE__ - if(!data_.has_value()) - throw std::logic_error("bad optional access"); - return *data_; - #else return data_.value().get(); - #endif } // Actually filter the view.