aboutsummaryrefslogtreecommitdiff
path: root/src/GlobalLib.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-27 17:54:13 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit0f3b3c10d63140509ebcd466b281a78e7f745225 (patch)
tree3e01fbe0025a5a9d6900a969bb7d87516028fb4d /src/GlobalLib.cpp
parent1c6ab0b07f18f2c6919ebb45c40da1e00b7ecf83 (diff)
Fix build for windows, release new windows build
Diffstat (limited to 'src/GlobalLib.cpp')
-rw-r--r--src/GlobalLib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GlobalLib.cpp b/src/GlobalLib.cpp
index 2dd829f..7f9d949 100644
--- a/src/GlobalLib.cpp
+++ b/src/GlobalLib.cpp
@@ -278,7 +278,7 @@ namespace sibs
libPath += TINYDIR_STRING("/.cache/sibs/lib/");
libPath += toFileString(dependency->name);
libPath += TINYDIR_STRING("/");
- libPath += package.version.toString();
+ libPath += toFileString(package.version.toString());
FileString libArchivedFilePath = libPathResult.unwrap();
libArchivedFilePath += TINYDIR_STRING("/.cache/sibs/archive/");
@@ -288,7 +288,7 @@ namespace sibs
return createArchiveDirResult;
libArchivedFilePath += TINYDIR_STRING("/");
- libArchivedFilePath += package.version.toString();
+ libArchivedFilePath += toFileString(package.version.toString());
Result<bool> downloadResult = curl::downloadFile(package.urls[0].c_str(), libArchivedFilePath.c_str());
if(!downloadResult)
return downloadResult;