diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..3112e21d --- /dev/null +++ b/.vscode/launch.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..20997738 --- /dev/null +++ b/.vscode/tasks.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index e3c0e8ac..20b77a70 100644 --- a/README.md +++ b/README.md @@ -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