Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update fdroid scripts

Leendert de Borst925be8e9eba7
diff --git a/apps/mobile-app/android/fdroid/.gitignore b/apps/mobile-app/android/fdroid/.gitignore
index e8a47d513..f96d91270 100644
--- a/apps/mobile-app/android/fdroid/.gitignore
+++ b/apps/mobile-app/android/fdroid/.gitignore
@@ -1,3 +1,5 @@
fdroiddata
fdroidserver
net.aliasvault.app.yml
+*.apk
+*.idsig
diff --git a/apps/mobile-app/android/fdroid/scripts/sign-apk.sh b/apps/mobile-app/android/fdroid/scripts/sign-apk.sh
index 77341f053..9b5934090 100755
--- a/apps/mobile-app/android/fdroid/scripts/sign-apk.sh
+++ b/apps/mobile-app/android/fdroid/scripts/sign-apk.sh
@@ -25,8 +25,12 @@ error() { echo -e "${RED}[ERROR]${RESET} $1"; }
echo -e "${YELLOW}=== APK Debug Signer (macOS) ===${RESET}"
-# --- Ask for unsigned APK ---
-read -rp "Enter unsigned APK filename (example: app-release-unsigned.apk): " APK_IN
+# --- Unsigned APK: from argument or prompt ---
+if [[ -n "${1:-}" ]]; then
+ APK_IN="$1"
+else
+ read -rp "Enter unsigned APK filename (example: app-release-unsigned.apk): " APK_IN
+fi
if [[ ! -f "$APK_IN" ]]; then
error "File not found: $APK_IN"