forked from fabioes/IdentityServer4.Quickstart.UI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget.ps1
More file actions
16 lines (12 loc) · 682 Bytes
/
get.ps1
File metadata and controls
16 lines (12 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$source = "https://github.com/IdentityServer/IdentityServer4.Quickstart.UI/archive/release.zip"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest $source -OutFile ui.zip
Expand-Archive ui.zip
if (!(Test-Path -Path Quickstart)) { mkdir Quickstart }
if (!(Test-Path -Path Views)) { mkdir Views }
if (!(Test-Path -Path wwwroot)) { mkdir wwwroot }
copy .\ui\IdentityServer4.Quickstart.UI-release\Quickstart\* Quickstart -recurse -force
copy .\ui\IdentityServer4.Quickstart.UI-release\Views\* Views -recurse -force
copy .\ui\IdentityServer4.Quickstart.UI-release\wwwroot\* wwwroot -recurse -force
del ui.zip
del ui -recurse