mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
11 lines
566 B
PowerShell
11 lines
566 B
PowerShell
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path;
|
|
$secretsPath = $homePath + "/secrets"
|
|
|
|
$mobileKeyPath = $($secretsPath + "/bitwarden-mobile-key.p12");
|
|
$distCertPath = $($secretsPath + "/iphone-distribution-cert.p12");
|
|
|
|
security create-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
|
|
security default-keychain -s build.keychain
|
|
security unlock-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
|
|
security import $mobileKeyPath -k build.keychain -P $env:MOBILE_KEY_PASSWORD
|
|
security import $distCertPath -k build.keychain -P $env:DIST_CERT_PASSWORD
|