1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

mas option of safari build

This commit is contained in:
Kyle Spearrin 2019-09-10 09:37:37 -04:00
parent 45cdda8f87
commit 89bf4ad3c4

View File

@ -1,5 +1,6 @@
param (
[string] $version
[string] $version,
[switch] $mas
)
# Dependencies:
@ -12,7 +13,10 @@ $dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
$rootDir = $dir + "\..";
$distDir = $rootDir + "\dist";
$distSafariDir = $distDir + "\safari";
$distSafariAppex = $distSafariDir + "\browser\dist\Safari\build\Release\safari.appex";
$distSafariAppex = $distSafariDir + "\browser\dist\Safari\dmg\build\Release\safari.appex";
if($mas) {
$distSafariAppex = $distSafariDir + "\browser\dist\Safari\mas\build\Release\safari.appex";
}
$pluginsAppex = $rootDir + "\PlugIns\safari.appex";
if(Test-Path -Path $distSafariDir) {