mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-05-06 13:19:48 -05:00
Update CemuUpdateWindow.cpp to use new update.sh path
This commit is contained in:
parent
d37d25b086
commit
b1e3c2bd3d
|
|
@ -616,7 +616,8 @@ void CemuUpdateWindow::OnClose(wxCloseEvent& event)
|
|||
{
|
||||
const auto tmppath = fs::temp_directory_path() / L"cemu_update/Cemu.dmg";
|
||||
fs::path exePath = ActiveSettings::GetExecutablePath().parent_path();
|
||||
const auto apppath = exePath / L"update.sh";
|
||||
const auto appResources = exePath.parent_path().parent_path() / L"Resources";
|
||||
const auto apppath = appResources / L"update.sh";
|
||||
execlp("sh", "sh", apppath.c_str(), NULL);
|
||||
|
||||
exit(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user