1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 15:53:44 +00:00

update path sep character

This commit is contained in:
Kyle Spearrin
2020-06-09 11:46:16 -04:00
parent 99b2cd2ad0
commit 0628394122
2 changed files with 6 additions and 6 deletions

View File

@@ -7,17 +7,17 @@
$homePath = $env:HOME
$rootPath = $env:GITHUB_WORKSPACE
$secretInputPath = $rootPath + "\.github\secrets"
$input = $secretInputPath + "\" + $filename
$secretInputPath = $rootPath + "/.github/secrets"
$input = $secretInputPath + "/" + $filename
$passphrase = $env:DECRYPT_FILE_PASSWORD
$secretOutputPath = $homePath + "\secrets"
$secretOutputPath = $homePath + "/secrets"
if ([string]::IsNullOrEmpty($output)) {
if ($filename.EndsWith(".gpg")) {
$output = $secretOutputPath + "\" + $filename.TrimEnd(".gpg")
$output = $secretOutputPath + "/" + $filename.TrimEnd(".gpg")
} else {
$output = $secretOutputPath + "\" + $filename + ".plaintext"
$output = $secretOutputPath + "/" + $filename + ".plaintext"
}
}