From 35b4a5e808882a04371bc9627db7b5a34a3ea728 Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Sat, 20 Apr 2024 04:18:56 -0700 Subject: [PATCH] Update CemuUpdateWindow.cpp --- src/gui/CemuUpdateWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/CemuUpdateWindow.cpp b/src/gui/CemuUpdateWindow.cpp index a6d2c06e0..4c8e584af 100644 --- a/src/gui/CemuUpdateWindow.cpp +++ b/src/gui/CemuUpdateWindow.cpp @@ -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); }