Skip to content

Commit e3fb0ac

Browse files
committed
fix: Fix millennium updater (I forgot to remove development paths)
1 parent a5d2dc9 commit e3fb0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/millennium_updater.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ void MillenniumUpdater::Co_BeginUpdate(const std::string& downloadUrl, const siz
247247
}
248248
});
249249

250-
Util::ExtractZipArchive(tempFilePath.string(), "C:\\Users\\shdw\\Downloads", [](int current, int total, const char* file)
250+
Util::ExtractZipArchive(tempFilePath.string(), SystemIO::GetInstallPath().generic_string(), [](int current, int total, const char* file)
251251
{
252252
const double progress = 50.0 + (static_cast<double>(current) / total) * 50.0;
253253
static auto last_call = std::chrono::steady_clock::now() - std::chrono::seconds(2);

0 commit comments

Comments
 (0)