Skip to content

Commit ff1b1eb

Browse files
committed
V2025.7.6
1 parent e0e4e17 commit ff1b1eb

File tree

5 files changed

+24
-7
lines changed

5 files changed

+24
-7
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 2025.7.6
4+
### Breaking Changes
5+
None
6+
### New APIs
7+
None
8+
### Fixes
9+
#### Updater
10+
- Exceptions thrown
11+
312
## 2025.7.5
413
### Breaking Changes
514
None

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ endif()
2020
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
2121

2222
#libnick Definition
23-
project ("libnick" LANGUAGES C CXX VERSION 2025.7.5 DESCRIPTION "A cross-platform base for native Nickvision applications.")
23+
project ("libnick" LANGUAGES C CXX VERSION 2025.7.6 DESCRIPTION "A cross-platform base for native Nickvision applications.")
2424
include(CMakePackageConfigHelpers)
2525
include(GNUInstallDirs)
2626
include(CTest)

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PROJECT_NAME = "libnick"
4848
# could be handy for archiving the generated documentation or if some version
4949
# control system is used.
5050

51-
PROJECT_NUMBER = "2025.7.5"
51+
PROJECT_NUMBER = "2025.7.6"
5252

5353
# Using the PROJECT_BRIEF tag one can provide an optional one line description
5454
# for a project that appears at the top of each page and should give viewer a

manual/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
libnick provides Nickvision apps with a common set of cross-platform APIs for managing system and desktop app functionality such as network management, taskbar icons, translations, app updates, and more.
88

9-
## 2025.7.5
9+
## 2025.7.6
1010
### Breaking Changes
1111
None
1212
### New APIs
13-
#### Update
14-
- Added `Updater::downloadUpdate()` method for all platforms
15-
### Fixes
1613
None
14+
### Fixes
15+
#### Updater
16+
- Exceptions thrown
1717

1818
## Dependencies
1919
The following are a list of dependencies used by libnick.

src/update/updater.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,15 @@ namespace Nickvision::Update
9595
break;
9696
}
9797
}
98-
return versionType == VersionType::Stable ? Version(stableVersion) : Version(previewVersion);
98+
if(versionType == VersionType::Stable)
99+
{
100+
return stableVersion.empty() ? Version() : Version(stableVersion);
101+
}
102+
else if(versionType == VersionType::Preview)
103+
{
104+
return previewVersion.empty() ? Version() : Version(previewVersion);
105+
}
106+
return Version();
99107
}
100108

101109
bool Updater::downloadUpdate(VersionType versionType, const std::filesystem::path& path, const std::string& assetName, bool exactMatch, const cpr::ProgressCallback& progress)

0 commit comments

Comments
 (0)