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