From 10839588dd88f9d69ccf14830e86ffb1839e78b9 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 10 Jan 2018 22:20:22 -0500 Subject: [PATCH] Invoke-Expression --- src/Android/ci-build-apks.ps1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Android/ci-build-apks.ps1 b/src/Android/ci-build-apks.ps1 index 3f10bc5fa..92f2a211b 100644 --- a/src/Android/ci-build-apks.ps1 +++ b/src/Android/ci-build-apks.ps1 @@ -18,7 +18,9 @@ $xml.Save($androidManifest); echo "##### Decrypt Keystore" $encKeystorePath = $($rootPath + "\src\Android\8bit.keystore.enc"); -..\..\secure-file\tools\secure-file -decrypt $($encKeystorePath) -secret $($env:keystore_password) +$secureFilePath = $($rootPath + "\secure-file\tools\secure-file"); + +Invoke-Expression "& `"$secureFilePath`" -decrypt $($encKeystorePath) -secret $($env:keystore_password)" echo "##### Sign Release Configuration" @@ -69,7 +71,9 @@ $xml.Save($appPath); echo "##### Restore NuGet" -..\..\nuget.exe restore +$nugetPath = $($rootPath + "\nuget.exe"); + +Invoke-Expression "& `"$nugetPath`" restore" echo "##### Build and Sign FDroid Configuration"