mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-07 09:31:31 +01:00
mas option of safari build
This commit is contained in:
parent
45cdda8f87
commit
89bf4ad3c4
@ -1,5 +1,6 @@
|
|||||||
param (
|
param (
|
||||||
[string] $version
|
[string] $version,
|
||||||
|
[switch] $mas
|
||||||
)
|
)
|
||||||
|
|
||||||
# Dependencies:
|
# Dependencies:
|
||||||
@ -12,7 +13,10 @@ $dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
|
|||||||
$rootDir = $dir + "\..";
|
$rootDir = $dir + "\..";
|
||||||
$distDir = $rootDir + "\dist";
|
$distDir = $rootDir + "\dist";
|
||||||
$distSafariDir = $distDir + "\safari";
|
$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";
|
$pluginsAppex = $rootDir + "\PlugIns\safari.appex";
|
||||||
|
|
||||||
if(Test-Path -Path $distSafariDir) {
|
if(Test-Path -Path $distSafariDir) {
|
||||||
|
Loading…
Reference in New Issue
Block a user