resolve path of ~

This commit is contained in:
Kyle Spearrin 2020-06-09 13:09:00 -04:00
parent bc1f6464d3
commit f95bbaa0f7
4 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
$rootPath = $env:GITHUB_WORKSPACE; $rootPath = $env:GITHUB_WORKSPACE;
$homePath = "~"; $homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path;
$publisherPath = $($rootPath + "/store/google/Publisher/bin/Release/netcoreapp2.0/Publisher.dll"); $publisherPath = $($rootPath + "/store/google/Publisher/bin/Release/netcoreapp2.0/Publisher.dll");
$credsPath = $($homePath + "/secrets/play_creds.json"); $credsPath = $($homePath + "/secrets/play_creds.json");

View file

@ -4,7 +4,7 @@
[string] $output [string] $output
) )
$homePath = "~" $homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path
Write-Output "Home path is: '$homePath'" Write-Output "Home path is: '$homePath'"

View file

@ -1,4 +1,4 @@
$homePath = "~"; $homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path;
$secretsPath = $homePath + "/secrets" $secretsPath = $homePath + "/secrets"
$mobileKeyPath = $($secretsPath + "/bitwarden-mobile-key.p12"); $mobileKeyPath = $($secretsPath + "/bitwarden-mobile-key.p12");

View file

@ -1,4 +1,4 @@
$homePath = "~"; $homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path;
$secretsPath = $homePath + "/secrets" $secretsPath = $homePath + "/secrets"
$autofillProfilePath = $($secretsPath + "/dist_autofill.mobileprovision"); $autofillProfilePath = $($secretsPath + "/dist_autofill.mobileprovision");