From eecf5eb4c6f1b4183ccba3c16dd40f57f8467ac4 Mon Sep 17 00:00:00 2001 From: iTob Date: Fri, 20 Sep 2024 09:01:27 +0200 Subject: [PATCH] build script for maui apk adjusted --- IaC/build-android.ps1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/IaC/build-android.ps1 b/IaC/build-android.ps1 index 55d74be..e5b6f45 100644 --- a/IaC/build-android.ps1 +++ b/IaC/build-android.ps1 @@ -1,2 +1,7 @@ -cd.. +$location = Get-Location +if(!$location.Path.Contains("RBLNews.Web")) +{ + cd ../RBLNews.Maui +} + dotnet publish -c Release -r android-arm64 -p:PackageFormat=Apk -f net8.0-android34.0 --sc true \ No newline at end of file