FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
API-Examples/windows/APIExample/installCheck.ps1 at master · ApparaoMulpuri/API-Examples · GitHub
ApparaoMulpuri
/
API-Examples
Public
forked from
AgoraIO/API-Examples
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
API-Examples
/
windows
/
APIExample
/
installCheck.ps1
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (22 loc) · 1.08 KB
Breadcrumbs
API-Examples
/
windows
/
APIExample
/
installCheck.ps1
Copy path
File metadata and controls
28 lines (22 loc) · 1.08 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$ThirdPartysrc
=
'
https://agora-adc-artifacts.oss-cn-beijing.aliyuncs.com/libs/ThirdParty.zip
'
$ThirdPartydes
=
'
ThirdParty.zip
'
$MediaPlayerSDK
=
'
https://download.agora.io/sdk/release/Agora_Media_Player_for_Windows_x86_rel.v1.1.0.16486_20200507_1537.zip
'
$MediaPlayerDes
=
'
MediaPlayerPartSave.zip
'
if
(
-not
(
Test-Path
ThirdParty)){
echo
"
download
$ThirdPartydes
"
mkdir ThirdParty
Invoke-WebRequest
-
uri
$ThirdPartySrc
-
OutFile
$ThirdPartyDes
-
TimeoutSec
10
;
Unblock-File
$ThirdPartyDes
Expand-Archive
-
Path
$ThirdPartyDes
-
DestinationPath
'
ThirdParty
'
-
Force
Remove-Item
$ThirdPartyDes
-
Recurse
}
if
(
-not
(
Test-Path
MediaPlayerPart)){
echo
"
download
$MediaPlayerSDK
"
mkdir MediaPlayerPart
Invoke-WebRequest
-
uri
$MediaPlayerSDK
-
OutFile
$MediaPlayerDes
-
TimeoutSec
10
;
Unblock-File
$MediaPlayerDes
Expand-Archive
-
Path
$MediaPlayerDes
-
DestinationPath
.
-
Force
Move-Item
Agora_Media_Player_for_Windows_x86_rel.v1.
1.0
.
16486_20200507_1537
\sdk\
*
MediaPlayerPart
Remove-Item
$MediaPlayerDes
-
Recurse
Remove-Item
Agora_Media_Player_for_Windows_x86_rel.v1.
1.0
.
16486_20200507_1537
-
Recurse
}
Back
|
FazBrowse Home
|
New Git URL