Skip to content

Commit

Permalink
Update CemuUpdateWindow.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
qurious-pixel authored Apr 20, 2024
1 parent 007e612 commit 35b4a5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/CemuUpdateWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,11 +610,11 @@ void CemuUpdateWindow::OnClose(wxCloseEvent& event)
#elif BOOST_OS_LINUX
if (m_restartRequired && !m_restartFile.empty() && fs::exists(m_restartFile))
{
fs::path exePath = ActiveSettings::GetExecutablePath();
//fs::path exePath = ActiveSettings::GetExecutablePath();
const char* appimage_path = std::getenv("APPIMAGE");
const auto tmppath = fs::temp_directory_path() / L"cemu_update";
std::string target_exe = (exePath);
execlp(target_exe.c_str(), target_exe.c_str(), (char *)NULL);
//const auto tmppath = fs::temp_directory_path() / L"cemu_update";
//std::string target_exe = (exePath);
execlp(appimage_path, appimage_path, (char *)NULL);

exit(0);
}
Expand Down

0 comments on commit 35b4a5e

Please sign in to comment.