Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Update README.md with detailed instructions for the windows setup #87

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
34 changes: 24 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,31 @@
- [Nodejs](https://nodejs.org/en/download/) and [NPM](https://www.npmjs.com/get-npm)

## Installation
🎥 [Tutorial video by Ziyad](https://youtu.be/bwzv7wT44Ds) 🎥
🎥 [Tutorial video by Ziyad](https://youtu.be/bwzv7wT44Ds) 🎥 [currently unavailable]
### Windows
1. Login to your twitch account
2. Open inspector(F12 or Ctrl+Shift+I) on main site
3. Find the stored cookie section
4. Copy **auth-token**
5. Clone this repo
6. Install Chromium
7. Usually the path to the Chromium executable is: C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe
8. Install the dependencies with `npm install`
9. Start the program with `npm start`
1. Login to your twitch account (www.twitch.tv)
2. Open inspector(F12 or Ctrl+Shift+I or right click and select 'inspect') on main site
3. Find the stored cookie section (in the inspect window go to Application > Storage > Cookies > https://www.twitch.tv)
4. Copy **auth-token** from the location in step 4 (and temporarily paste it in a notepad)
5. Clone this repo (using git, or download the ZIP using https://github.com/D3vl0per/Twitch-watcher/archive/master.zip)
6. extract the content and copy the folder to where you would like to keep it
7. install Chromium
> 7.1. Download and install Chromium (latest version) (from https://download-chromium.appspot.com/)
>> 7.1.1. Extract the content of the chromium ZIP and copy the folder to where you would like to keep it

>> 7.1.2. open the chromium folder and press Alt + d , then press ctrl + c, then open a notepad and press ctrl + v

> 7.2. Or download chrome canary (stable version) (from https://www.google.com/intl/en/chrome/canary/)
>> 7.2.1. Usually the path to the Chromium executable is: C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe
8. Install NODE.js (from https://nodejs.org/en/download/)
9. go to the location where Valorant-watcher is located (step 6)
10. on the keyboard, press Alt + D
11. type "cmd"
12. press Enter on the keyboard (command prompt should now open)
13. Install the dependencies with `npm install` in the command prompt window
14. Start the program with `npm start` in the command prompt window
15. you will be prompted to enter your twitch token and chromium path. (from step 4. and (step 7.1.2. or step 7.2.1))

### Linux
1. Login to your twitch account
2. Open inspector(F12 or Ctrl+Shift+I) on main site
Expand Down