diff --git a/README.md b/README.md index 8aa4368a..e79bf758 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,9 @@ To install, paste this into your terminal. This wont work on windows, you will need to do these steps with the windows equivalents -to get the files +# to get the files ```bash git clone --recursive https://github.com/MistWarp/desktop mistwarp-desktop ``` -to update and build them -```bash -cd mistwarp-desktop -git pull -npm ci -npm run fetch -npm run electron:package:dir -cd dist -pwd -``` - -The last line of this will tell you the directory to open in your file manager, then go into the folder named the platform you are on (mac/linux/windows) and find the executable, then you should move the executable to your applications folder or similar and you are done. +# to update and build them +run update.bat or update.sh diff --git a/install.sh b/install.sh new file mode 100644 index 00000000..a1e19f3f --- /dev/null +++ b/install.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +cd mistwarp-desktop +git pull +npm ci +npm run fetch +npm run electron:package:dir +cd dist +pwd diff --git a/update.bat b/update.bat new file mode 100644 index 00000000..02f39019 --- /dev/null +++ b/update.bat @@ -0,0 +1,8 @@ +@echo off +cd mistwarp-desktop +git pull +npm ci +npm run fetch +npm run electron:package:dir +cd dist +cd