1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-22 11:35:21 +01:00

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");