mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-23 12:13:11 +00:00
Fix mainPage not allowing you to install nszs
This commit is contained in:
parent
e82ff56d1d
commit
23bc1b604b
1 changed files with 2 additions and 2 deletions
|
@ -55,11 +55,11 @@ namespace inst::ui {
|
|||
}
|
||||
|
||||
void MainPage::installMenuItem_Click() {
|
||||
if (inst::util::getDirectoryFiles("sdmc:/", {".nsp"}).size()) {
|
||||
if (inst::util::getDirectoryFiles("sdmc:/", {".nsp", ".nsz"}).size()) {
|
||||
mainApp->nspinstPage->drawMenuItems(true);
|
||||
mainApp->LoadLayout(mainApp->nspinstPage);
|
||||
} else {
|
||||
mainApp->CreateShowDialog("No NSP files found!", "Copy your NSP files to the root of your SD card!", {"OK"}, true);
|
||||
mainApp->CreateShowDialog("No NSP or NSZ files found!", "Copy them to the root of your SD card!", {"OK"}, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue