mirror of
https://gitea.com/PublicAffairs/openai-github-copilot.git
synced 2025-07-23 20:30:45 +02:00
19 lines
465 B
PowerShell
19 lines
465 B
PowerShell
$hostsFile = "$env:LOCALAPPDATA\github-copilot\hosts.json"
|
|
$tokenFile = "$env:HOMEDRIVE$env:HOMEPATH\.copilot-cli-access-token"
|
|
|
|
if (Test-Path $hostsFile) {
|
|
Write-Output "Found hosts.json:"
|
|
Get-Content $hostsFile
|
|
} else {
|
|
Write-Output "hosts.json not found."
|
|
}
|
|
|
|
Write-Output ""
|
|
|
|
if (Test-Path $tokenFile) {
|
|
Write-Output "Found .copilot-cli-access-token:"
|
|
Get-Content $tokenFile
|
|
} else {
|
|
Write-Output ".copilot-cli-access-token not found."
|
|
}
|