Add a build process on Windows

pull/187/head
raymond-ley 2023-03-24 00:07:29 +08:00
parent 5d5df0ba25
commit 11c14606b8
2 changed files with 22 additions and 1 deletions

View File

@ -8,8 +8,21 @@ Feel free to file tickets for bugs or feature requests. Upvote 👍 the ones you
To get started:
Get resources:
```
./setup.sh # for unix
```
or
```
./setup.ps1 # for windows
```
Install dependencies:
```
./setup.sh
npm i
```

8
setup.ps1 Normal file
View File

@ -0,0 +1,8 @@
Invoke-WebRequest -Uri https://cursor.so/resources.zip -o ./resources.zip
Invoke-WebRequest -Uri https://cursor.so/lsp.zip -o ./lsp.zip
Expand-Archive -Path ./resources.zip -DestinationPath ./resources
Expand-Archive -Path ./lsp.zip -DestinationPath ./lsp
Remove-Item -Path ./resources.zip
Remove-Item -Path ./lsp.zip