You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rm -f "${OUT_DIR:?}/${FILENAME_START:?}"*"${FILENAME_END:?}"*"${FILENAME_EXT:?}".md5 || ui_error 'Failed to remove the previously built files'"${LINENO-}""${FUNCNAME-}"
333
345
rm -f "${OUT_DIR:?}/${FILENAME_START:?}"*"${FILENAME_END:?}"*"${FILENAME_EXT:?}".sha256 || ui_error 'Failed to remove the previously built files'"${LINENO-}""${FUNCNAME-}"
334
346
347
+
# [HOOK] pre_package: Last chance to modify content before zipping
348
+
run_hook 'pre_package'
349
+
335
350
# Compress (it ensure that the list of files to compress is in the same order under all OSes)
336
351
# Note: Unicode filenames in the zip are disabled since we don't need them and also zipsigner.jar chokes on them
337
352
cd"${TEMP_DIR}/zip-content"|| ui_error 'Failed to change the folder'"${LINENO-}""${FUNCNAME-}"
338
353
echo'Zipping...'
339
354
find . -type f | LC_ALL=C sort | zip -D -9 -X -UN=n -nw "${TEMP_DIR}/flashable${FILENAME_EXT:?}" -@ || ui_error 'Failed compressing'"${LINENO-}""${FUNCNAME-}"
340
355
FILENAME="${FILENAME:?}-signed"
341
356
357
+
# [HOOK] post_package: Triggered after compression, but before signing
0 commit comments