mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-26 13:05:34 -06: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