Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Software doesn't create missing directories on CTRNAND #55

Open
cheatfreak47 opened this issue Dec 23, 2017 · 0 comments
Open

Software doesn't create missing directories on CTRNAND #55

cheatfreak47 opened this issue Dec 23, 2017 · 0 comments

Comments

@cheatfreak47
Copy link

cheatfreak47 commented Dec 23, 2017

I added an entry for CTRNAND GodMode9 (as a luma payload) because this is a thing you can do with Luma, that people don't seem to know about.

Here is the entry.

		{
			"name": "CTRNAND GodMode9 (latest release)",
		 	"url": "https://github.com/d0k3/GodMode9",
			"inrelease": "GodMode9.*\\.zip",
			"inarchive": "GodMode9\\.firm",
			"path": "ctrnand:/rw/luma/payloads/GodMode9.firm"
		},

The problem lies in the path for the ctrnand location of GodMode9.
If the "payloads" folder doesn't already exist, it won't create it, resulting in "extraction failed!" error.

The solution of course, is to create the missing dirs should there end up being any in the path to the target location. I.E. add checks or whatever.

I don't know if this problem happens on the SD card too I haven't bothered to check. Regardless, this should be implemented to prevent such errors should a user be using this software to install a software for the first time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant