mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-24 10:32:03 +00:00
fix reboot_payload.bin overwrite prompt not showing (closes https://github.com/HamletDuFromage/aio-switch-updater/issues/249)
This commit is contained in:
parent
6e61ca97f5
commit
0ff58fccf5
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ namespace extract {
|
|||
}
|
||||
else {
|
||||
extractEntry(filename, zfile);
|
||||
if (filename.substr(0, 13) == "hekate_ctcaer") {
|
||||
if (filename.substr(0, 14) == "/hekate_ctcaer") {
|
||||
fs::copyFile(filename, UPDATE_BIN_PATH);
|
||||
if (CurrentCfw::running_cfw == CFW::ams && util::showDialogBoxBlocking(fmt::format("menus/utils/set_hekate_reboot_payload"_i18n, UPDATE_BIN_PATH, REBOOT_PAYLOAD_PATH), "menus/common/yes"_i18n, "menus/common/no"_i18n) == 0) {
|
||||
fs::copyFile(UPDATE_BIN_PATH, REBOOT_PAYLOAD_PATH);
|
||||
|
|
Loading…
Reference in a new issue