mirror of
https://github.com/bitwarden/desktop.git
synced 2024-12-24 16:38:24 +01:00
Add script for downloading legacy safari extension (#796)
This commit is contained in:
parent
fc7a968b0c
commit
619cf4067a
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ yarn-error.log
|
||||
*.provisionprofile
|
||||
*.env
|
||||
PlugIns/safari.appex/
|
||||
PlugIns/safari-legacy.appex/
|
||||
|
12
scripts/download-legacy-safari.ps1
Normal file
12
scripts/download-legacy-safari.ps1
Normal file
@ -0,0 +1,12 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
|
||||
$rootDir = $dir + "\..";
|
||||
$outputPath = $rootDir + "\PlugIns";
|
||||
$zipFileName = "safari-legacy.appex.zip";
|
||||
$downloadOutput = $outputPath + "\" + $zipFileName;
|
||||
|
||||
Invoke-WebRequest -Uri "https://github.com/bitwarden/browser/releases/download/v1.48.1/safari-legacy.appex.zip" -OutFile $downloadOutput
|
||||
|
||||
Set-Location $outputPath
|
||||
Invoke-Expression -Command "unzip $zipFileName"
|
||||
|
||||
Remove-Item $downloadOutput
|
Loading…
Reference in New Issue
Block a user