mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2025-02-16 19:58:23 +00:00
Fix local NSP/NSZ installation
This commit is contained in:
parent
f13cce244e
commit
47e8b4214e
1 changed files with 7 additions and 7 deletions
|
@ -116,14 +116,14 @@ 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...");
|
||||
|
|
Loading…
Add table
Reference in a new issue