mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-26 05:30:19 +00:00
Genuinely fix sd installs
This commit is contained in:
parent
7375841b19
commit
1720d5eae7
1 changed files with 13 additions and 13 deletions
|
@ -116,21 +116,21 @@ namespace nspInstStuff {
|
|||
rename(ourTitleList[titleItr], newfilename);
|
||||
filesToBeRenamed.push_back(newfilename);
|
||||
ourTitleList[titleItr] = newfilename;
|
||||
|
||||
std::string path = "@Sdcard://" + ourTitleList[titleItr].string().erase(0, 6);
|
||||
|
||||
nx::fs::IFileSystem fileSystem;
|
||||
fileSystem.OpenFileSystemWithId(path, FsFileSystemType_ApplicationPackage, 0);
|
||||
tin::install::nsp::SimpleFileSystem simpleFS(fileSystem, "/", path + "/");
|
||||
installTask = new tin::install::nsp::NSPInstallTask(simpleFS, m_destStorageId, inst::config::ignoreReqVers);
|
||||
}
|
||||
|
||||
std::string path = "@Sdcard://" + ourTitleList[titleItr].string().erase(0, 6);
|
||||
|
||||
nx::fs::IFileSystem fileSystem;
|
||||
fileSystem.OpenFileSystemWithId(path, FsFileSystemType_ApplicationPackage, 0);
|
||||
tin::install::nsp::SimpleFileSystem simpleFS(fileSystem, "/", path + "/");
|
||||
installTask = new tin::install::nsp::NSPInstallTask(simpleFS, m_destStorageId, inst::config::ignoreReqVers);
|
||||
|
||||
inst::ui::setInstInfoText("Preparing installation...");
|
||||
inst::ui::setInstBarPerc(0);
|
||||
installTask->Prepare();
|
||||
|
||||
installTask->Begin();
|
||||
}
|
||||
|
||||
inst::ui::setInstInfoText("Preparing installation...");
|
||||
inst::ui::setInstBarPerc(0);
|
||||
installTask->Prepare();
|
||||
|
||||
installTask->Begin();
|
||||
}
|
||||
}
|
||||
catch (std::exception& e)
|
||||
|
|
Loading…
Reference in a new issue