Added automatic install to the docs (#324)

master
Blatzar 2020-04-07 08:33:13 +00:00 committed by GitHub
parent 4ff51adc10
commit 12d80538e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 1 deletions

View File

@ -8,7 +8,21 @@ Linux users. (For windows choco users, scroll to last)
Windows
~~~~~~~
Please see this video: https://www.youtube.com/watch?v=gC2tctOL5I8
Please see this video: https://www.youtube.com/watch?v=gC2tctOL5I8
Automatic Windows install
~~~~~~~~~~~~~~~~~~~~~
Add the following to a file named install.bat and then run it as administrator.
.. code::
::This installs choco, as found on https://chocolatey.org/docs/installation
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install -y git mpv python3 aria2 nodejs
start cmd.exe /c "pip3 install -U git+https://github.com/vn-ki/anime-downloader.git && echo Testing providers, the install is done && anime test"
Windows via ``choco``
~~~~~~~~~~~~~~~~~~~~~
@ -30,6 +44,7 @@ Windows via ``choco``
- then the commands to view a show would be::
anime watch --provider *Insert provider name* --new
Mac
~~~