1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-25 03:43:31 +01:00

Update setup.sh

This commit is contained in:
Flam3rboy 2021-02-04 20:35:37 +01:00 committed by GitHub
parent d3549f6eb1
commit 06d7cdb043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ cd discord-open-source
echo Cloning all repositories
git clone https://github.com/discord-open-source/discord-api api
git clone https://github.com/discord-open-source/discord-server-util server-util
git clone https://github.com/discord-open-source/discord-gateway gateway
git clone https://github.com/discord-open-source/discord-voice voice
git clone https://github.com/discord-open-source/discord-cdn cdn
@ -53,7 +54,7 @@ git clone https://github.com/discord-open-source/discord-react-native react-nati
git clone https://github.com/discord-open-source/discord-dashboard dashboard
if [ -x "$(command -v code)" ]; then
echo '{"folders":[{"path":"overview"},{"path":"cdn"},{"path":"api"},{"path":"gateway"},{"path":"voice"},{"path":"design"},{"path":"react"},{"path":"client"},{"path":"react-native"},{"path":"dashboard"}]}' >> discord-open-source.code-workspace
echo '{"folders":[{"path":"overview"},{"path":"cdn"},{"path":"api"},{"path":"gateway"},{"path":"voice"},{"path":"server-util"},{"path":"design"},{"path":"react"},{"path":"client"},{"path":"react-native"},{"path":"dashboard"}]}' >> discord-open-source.code-workspace
echo Open VSCode Workspace
code discord-open-source.code-workspace
fi