mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-13 23:47:08 +00:00
remove wrong pathing used for testing
This commit is contained in:
parent
4d90bb2aa2
commit
43e771e4c3
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ namespace inst::ui {
|
||||||
void nspInstPage::drawMenuItems(bool clearItems) {
|
void nspInstPage::drawMenuItems(bool clearItems) {
|
||||||
if (clearItems) nspInstPage::selectedNsps = {};
|
if (clearItems) nspInstPage::selectedNsps = {};
|
||||||
this->menu->ClearItems();
|
this->menu->ClearItems();
|
||||||
nspInstPage::ourFiles = util::getDirectoryFiles("sdmc:/tinfoil/nsp/", {".nsp", ".nsz"});
|
nspInstPage::ourFiles = util::getDirectoryFiles("sdmc:/", {".nsp", ".nsz"});
|
||||||
for (auto& file: nspInstPage::ourFiles) {
|
for (auto& file: nspInstPage::ourFiles) {
|
||||||
pu::String itm = inst::util::shortenString(file.string().erase(0, 6), 56, true);
|
pu::String itm = inst::util::shortenString(file.string().erase(0, 6), 56, true);
|
||||||
auto ourEntry = pu::ui::elm::MenuItem::New(itm);
|
auto ourEntry = pu::ui::elm::MenuItem::New(itm);
|
||||||
|
|
Loading…
Reference in a new issue