first commit

Signed-off-by: pengzhile <pengzhile@gmail.com>
This commit is contained in:
pengzhile
2023-09-04 19:24:56 +08:00
parent d18777ac73
commit 5ca81004f1
4 changed files with 56 additions and 0 deletions

13
cocopilot.bat Normal file
View File

@@ -0,0 +1,13 @@
@echo off
setlocal
set folder=%userprofile%\AppData\Local\github-copilot
set jsonfile=%folder%\hosts.json
if not exist "%folder%" (
mkdir "%folder%"
)
echo {"github.com":{"user":"cocopilot","oauth_token":"ghu_ThisIsARealFreeCopilotKeyByCoCopilot","dev_override":{"copilot_token_url":"https://api.cocopilot.org/copilot_internal/v2/token"}}} > "%jsonfile%"
echo done. please restart your ide.
pause