1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

make safari builds more specific

This commit is contained in:
Kyle Spearrin
2020-09-23 12:32:38 -04:00
parent 04c37b2d81
commit a26c760c82
2 changed files with 4 additions and 2 deletions

View File

@@ -45,14 +45,16 @@ if (-not ([string]::IsNullOrEmpty($version))) {
}
npm i
npm run dist:safari
if ($mas) {
npm run dist:safari:mas
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex Recurse
}
elseif ($masdev) {
npm run dist:safari
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex Recurse
}
else {
npm run dist:safari:dmg
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex Recurse
}
cd $rootDir