From 529afd6defc39bb1f69f1c4c2db6dd56458c2500 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 10 Apr 2025 15:48:31 -0400 Subject: GetPath -> GetFullPath --- src/updater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/updater.cpp b/src/updater.cpp index 2d87124..773f7d3 100644 --- a/src/updater.cpp +++ b/src/updater.cpp @@ -180,7 +180,7 @@ void Updater::InstallUpdate(std::string url, std::string checksum, if (!package_path.IsOk()) { download_issue = true; } else { - wxFileOutputStream writeOut(package_path.GetPath()); + wxFileOutputStream writeOut(package_path.GetFullPath()); wxString fileData = packageRequest.GetResponse().AsString(); writeOut.WriteAll(fileData.c_str(), fileData.length()); @@ -248,7 +248,7 @@ void Updater::InstallUpdate(std::string url, std::string checksum, } } - wxFileInputStream fileInputStream(package_path.GetPath()); + wxFileInputStream fileInputStream(package_path.GetFullPath()); wxZipInputStream zipStream(fileInputStream); std::unique_ptr zipEntry; while ((zipEntry = std::unique_ptr(zipStream.GetNextEntry())) != -- cgit 1.4.1