Skip to content
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Run yarn dev",
"runtimeExecutable": "yarn",
"runtimeArgs": ["dev"],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal"
}
]
}
12 changes: 12 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Install yarn dependencies",
"type": "shell",
"command": "yarn install"
}
]
}
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,25 @@ git clone https://github.com/BetterDiscord/installer && cd installer
This will create a local copy of this repository and navigate you to the root folder of the repository.

### 2: Install Dependencies
**If you are using Visual Studio Code for development, you can go into View > Command Pallete > "Tasks: Run Tasks" > "Install yarn dependencies" to install as well.**

Run this command at the root folder to install dependencies:
```ps
yarn install
```



### 3: Run Build Script
**If you are using Visual Studio Code for development, you can debug by opening the "Run and Debug" menu and launch "Run yarn dev"**

To run the installer in development mode, simply run the following command:
```ps
yarn dev
```



## Additional Scripts

### Linting
Expand Down