Browse Source

fixed execution and updated nitotv packages

Jaywalker 6 years ago
parent
commit
6432b7b5a4
1 changed files with 9 additions and 7 deletions
  1. 9 7
      the_memo.sh

+ 9 - 7
the_memo.sh

@@ -43,6 +43,7 @@ while test $# -gt 0; do
 			;;
 		-n|--nito-tv)
 			NITOTV="true"
+			shift
 			;;
 		-c|--codesign-tool)
 			shift
@@ -3449,9 +3450,7 @@ installSubstrate() {
 	dpkg-deb -x mobilesubstrate_0.9.6301_appletvos-arm64.deb deb
 	PKG_NAME="mobilesubstrate"
 	PKG_VERSION="0.9.6301"
-	echo "here?"
 	createListFile
-	echo "here??"
 	#dpkg -b deb
 	#mv deb.deb "mobilesubstrate_0.9.6301_${PLATFORM_LOWER}-$ARCH.deb"
 	#dpkg-deb -e com.saurik.substrate.safemode_0.9.6001_iphoneos-arm.deb deb/DEBIAN
@@ -3503,14 +3502,17 @@ buildAPTAndDependencies
 
 if [ "$NITOTV" == "true" ]; then
 	installSubstrate
+	mkdir nitotv
+	cd nitotv
+	WORKING_DIR="nitotv"
 	rm -rf deb
 	mkdir -p deb/DEBIAN
-	dpkg-deb -x nitoTV_2.0-24_appletvos-arm64.deb deb
-	dpkg-deb -e nitoTV_2.0-24_appletvos-arm64.deb deb/DEBIAN
-	PKG_NAME="com.nito.nitoTV4"
-	PKG_VERSION="2.0-24"
+	dpkg-deb -x nitotv_2.0-26_appletvos-arm64.deb deb
+	dpkg-deb -e nitotv_2.0-26_appletvos-arm64.deb deb/DEBIAN
+	PKG_NAME="com.nito.nitotv4"
+	PKG_VERSION="2.0-26"
 	createListFile
-	dpkg-deb -x nitoTV_2.0-24_appletvos-arm64.deb "$SKEL_PREFIX"
+	dpkg-deb -x nitotv_2.0-26_appletvos-arm64.deb "$SKEL_PREFIX"
 
 	rm -rf deb
 	mkdir -p deb/DEBIAN