mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
update vendor scripts
This commit is contained in:
parent
834940cddb
commit
f99480fd49
@ -104,10 +104,12 @@ function Fetch-DownloadUrl {
|
|||||||
|
|
||||||
$headers = @{}
|
$headers = @{}
|
||||||
|
|
||||||
if ($($env:GITHUB_TOKEN)) {
|
if ($env:GITHUB_TOKEN) {
|
||||||
$headers["Authorization"] = "token $($env:GITHUB_TOKEN)"
|
$headers["Authorization"] = "token $($env:GITHUB_TOKEN)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Write-Host $headers
|
||||||
|
|
||||||
# Api server for GitHub
|
# Api server for GitHub
|
||||||
$urlHost = "api.github.com"
|
$urlHost = "api.github.com"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user