Skip to content
Snippets Groups Projects
Commit ff826886 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

build: bump macOS minimum version to 10.15

Change-Id: I9d05b7d19afb1873f8bae69f194484a07ac1b0e4
parent 4a60f0fc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
<key>LSMinimumSystemVersion</key>
<string>10.14</string>
<string>10.15</string>
<key>CFBundleVersion</key>
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
<key>LSApplicationCategoryType</key>
......
......@@ -36,7 +36,7 @@ cat << EOFILE > ${REPO_FOLDER}/${SPARKLE_FILE}
<pubDate>$DATE_RFC2822</pubDate>
<sparkle:version>${BUILD}</sparkle:version>
<sparkle:shortVersionString>${VERSION}</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>10.14.0</sparkle:minimumSystemVersion>
<sparkle:minimumSystemVersion>10.15.0</sparkle:minimumSystemVersion>
<enclosure url="${REPO_URL}/$(basename ${PACKAGE})" length="$PACKAGE_SIZE" type="application/octet-stream" sparkle:dsaSignature="$(./sign_update.sh ${PACKAGE} ${DSA_KEY})" />
</item>
$(echo -e "${ITEMS}")
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment