Dump certs.db

This is used to build CIAs. Currently only retail certs are supported
This commit is contained in:
zhupengfei
2020-08-03 21:56:48 +08:00
parent 10122a376c
commit 900275bffd
4 changed files with 13 additions and 2 deletions
+8 -1
View File
@@ -29,6 +29,13 @@ else
goto Exit
end
# === certs.db
if chk $[RDTYPE] "devkit"
echo "WARNING: \nDev kit detected. \nCIA building will not be usable."
else
cp -w -n "1:/dbs/certs.db" $[OUT]/certs.db
end
# === Safe mode firm
if not find $[OUT]/firm NULL
mkdir $[OUT]/firm
@@ -159,7 +166,7 @@ else
end
# === Write version
dumptxt $[OUT]/version.txt 1
dumptxt $[OUT]/version.txt 2
set PREVIEW_MODE "threeSD Dumper\nby zhaowenlan1779\n \nSuccess!"
echo "Successfully dumped necessary\nfiles for threeSD."