2020-06-09 18:25:09 +02:00
|
|
|
$homePath = $env:HOME;
|
|
|
|
$secretsPath = $homePath + "/secrets"
|
|
|
|
|
|
|
|
$autofillProfilePath = $($secretsPath + "/dist_autofill.mobileprovision");
|
|
|
|
$bitwardenProfilePath = $($secretsPath + "/dist_bitwarden.mobileprovision");
|
|
|
|
$extensionProfilePath = $($secretsPath + "/dist_extension.mobileprovision");
|
|
|
|
|
|
|
|
$autofill_uuid = grep UUID -A1 -a $autofillProfilePath | grep -io "[-A-F0-9]\{36\}"
|
2020-06-09 18:27:40 +02:00
|
|
|
Copy-Item $autofillProfilePath `
|
2020-06-09 18:31:18 +02:00
|
|
|
-destination "~/Library/MobileDevice/Provisioning Profiles/$autofill_uuid.mobileprovision"
|
2020-06-09 18:25:09 +02:00
|
|
|
|
|
|
|
$bitwarden_uuid = grep UUID -A1 -a $bitwardenProfilePath | grep -io "[-A-F0-9]\{36\}"
|
2020-06-09 18:27:40 +02:00
|
|
|
Copy-Item $bitwardenProfilePath `
|
2020-06-09 18:31:18 +02:00
|
|
|
-destination "~/Library/MobileDevice/Provisioning Profiles/$bitwarden_uuid.mobileprovision"
|
2020-06-09 18:25:09 +02:00
|
|
|
|
|
|
|
$extension_uuid = grep UUID -A1 -a $extensionProfilePath | grep -io "[-A-F0-9]\{36\}"
|
2020-06-09 18:27:40 +02:00
|
|
|
Copy-Item $extensionProfilePath `
|
2020-06-09 18:31:18 +02:00
|
|
|
-destination "~/Library/MobileDevice/Provisioning Profiles/$extension_uuid.mobileprovision"
|