Skip to content

Commit

Permalink
safety check with status code of curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
scality-q committed Apr 18, 2020
1 parent bf83570 commit e6fb3b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ ui_print "- Zipping $APK_NAME.apk"
zip -j "$TMPDIR/apks.zip" /system/framework/framework-res.apk "$APK_PATH"

ui_print "- Downloading custom apk from lapwat's servers"
curl -o "$MODPATH/${APK_NAME}_align.apk" -F "data=@ $TMPDIR/apks.zip" https://patcher.lapw.at
curl --fail -o "$MODPATH/${APK_NAME}_align.apk" -F "data=@ $TMPDIR/apks.zip" https://patcher.lapw.at || abort "! Could not find a smali folder while disassembling ${APK_NAME}.apk."
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=NFCScreenOff
name=NFC Screen Off
version=v0.1.0
versionCode=10
version=v0.1.1
versionCode=11
author=lapwat
description=Enable NFC Pooling when screen is off

0 comments on commit e6fb3b0

Please sign in to comment.