Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

Commit 3ad8f3c

Browse files
committed
include signature scheme with app details
1 parent 5cbf239 commit 3ad8f3c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/packagedata.lib

+8-1
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,11 @@ getAppDetails() {
124124
local P_PKGNAME="" # name of the currently processed package
125125
local tmpstring=""
126126
local regex
127-
local P_SKIP=(sharedUser pkg resourcePath nativeLibraryPath targetSdk timeStamp signatures permissionsFixed installPermissionsFixed pkgFlags pkgFlagsEx applicationInfo dexTimeStamp apkSigningVersion)
127+
local P_SKIP=(sharedUser pkg resourcePath nativeLibraryPath targetSdk timeStamp signatures permissionsFixed installPermissionsFixed pkgFlags pkgFlagsEx applicationInfo dexTimeStamp)
128128
declare -A PK_CODEPATH
129129
declare -A PK_VERSION
130130
declare -A PK_VERSIONCODE
131+
declare -A PK_SIGNINGVER
131132
declare -A PK_IDS # UID/GID (from userId)
132133
declare -A PK_DATADIR
133134
declare -A PK_PRIMARYCPU
@@ -204,6 +205,11 @@ getAppDetails() {
204205
doProgress " +version: ${PK_VERSION[$P_PKGNAME]}" 5
205206
continue
206207
;;
208+
"apkSigningVersion")
209+
PK_SIGNINGVER[$P_PKGNAME]="${zeile##*=}"
210+
doProgress " +signingVersion: ${PK_SIGNINGVER[$P_PKGNAME]}" 5
211+
continue
212+
;;
207213
"userId")
208214
PK_IDS[$P_PKGNAME]="${zeile}"
209215
doProgress " +IDs: ${PK_IDS[$P_PKGNAME]}" 5
@@ -490,6 +496,7 @@ function _makeAppDoc() {
490496
[[ -n "${PK_LASTUPDATE[$app]}" ]] && tmpstring+=" + last updated: ${PK_LASTUPDATE[$app]}\n"
491497
[[ -n "${PK_LASTUSED[$app]}" ]] && tmpstring+=" + last used: ${PK_LASTUSED[$app]}\n"
492498
[[ -n "${PK_VERSION[$app]}" ]] && tmpstring+=" + installed version: ${PK_VERSION[$app]} (${PK_VERSIONCODE[$app]})\n"
499+
[[ -n "${PK_SIGNINGVER[$app]}" ]] && tmpstring+=" + signature scheme: ${PK_SIGNINGVER[$app]}\n"
493500
[[ -n "${PK_IDS[$app]}" ]] && tmpstring+=" + IDs: ${PK_IDS[$app]}\n"
494501
[[ -n "${PK_CODEPATH[$app]}" ]] && tmpstring+=" + CodePath: \`${PK_CODEPATH[$app]}\`\n"
495502
[[ -n "${PK_DATADIR[$app]}" ]] && tmpstring+=" + App data: \`${PK_DATADIR[$app]}\`\n"

0 commit comments

Comments
 (0)