Skip to content

Commit

Permalink
gui/vita3k updater: Fix batch script path handling on Windows.
Browse files Browse the repository at this point in the history
- Replaced '/' with '\\' to fix path handling and resolve issues caused by incorrect path interpretation.
  • Loading branch information
Zangetsu38 authored and Macdu committed Sep 7, 2024
1 parent d4df8d6 commit 2624242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vita3k/gui/src/vita3k_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ static void download_update(const fs::path &base_path) {
SDL_PushEvent(&event);

#ifdef WIN32
const auto vita3K_batch = fmt::format("\"{}/update-vita3k.bat\"", base_path);
const auto vita3K_batch = fmt::format("\"{}\\update-vita3k.bat\"", base_path);
FreeConsole();
#elif defined(__APPLE__)
const auto vita3K_batch = fmt::format("sh \"{}/update-vita3k.sh\"", base_path);
Expand Down

0 comments on commit 2624242

Please sign in to comment.