Skip to content

Commit e6fb3b0

Browse files
committed
safety check with status code of curl command
1 parent bf83570 commit e6fb3b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

customize.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ ui_print "- Zipping $APK_NAME.apk"
2121
zip -j "$TMPDIR/apks.zip" /system/framework/framework-res.apk "$APK_PATH"
2222

2323
ui_print "- Downloading custom apk from lapwat's servers"
24-
curl -o "$MODPATH/${APK_NAME}_align.apk" -F "data=@ $TMPDIR/apks.zip" https://patcher.lapw.at
24+
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."

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
id=NFCScreenOff
22
name=NFC Screen Off
3-
version=v0.1.0
4-
versionCode=10
3+
version=v0.1.1
4+
versionCode=11
55
author=lapwat
66
description=Enable NFC Pooling when screen is off

0 commit comments

Comments
 (0)