Skip to content

Commit

Permalink
Update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed Aug 9, 2024
1 parent ae0c6e2 commit 93aa49a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions LEIAME.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ Para usar o Zwift online normalmente, abra o atalho **hosts** e remova a linha c

## Para carregar as atividades no Strava (opcional):

* Execute o **strava_auth** e autorize quando o Firewall do Windows perguntar.
* Obtenha o CLIENT_ID e CLIENT_SECRET de https://www.strava.com/settings/api
* Execute ``strava_auth.exe --client-id CLIENT_ID --client-secret CLIENT_SECRET`` e autorize quando o Firewall do Windows perguntar.
* Abra http://localhost:8000/ no navegador, faça login no Strava e autorize o zwift-offline a carregar suas atividades.
* Será criado um arquivo **strava_token**, mova esse arquivo para a pasta ``storage\1``.
* Será criado um arquivo ``strava_token.txt``, mova esse arquivo para a pasta ``storage\1``.
* Se estiver testando, ande pelo menos 300 metros, atividades mais curtas não serão carregadas.

Entre no grupo **zoffline** no Strava https://www.strava.com/clubs/zoffline
Expand All @@ -29,4 +30,4 @@ Entre no grupo **zoffline** no Strava https://www.strava.com/clubs/zoffline

* Desative o zwift-offline (veja [Ativando/Desativando o zwift-offline](https://github.com/oldnapalm/zoffline-helper/blob/master/LEIAME.md#ativandodesativando-o-zwift-offline) acima).
* Execute o **get_profile**, digite seu login do Zwift (e-mail) e sua senha.
* Serão criados os arquivos **profile.bin** e **achievements.bin**, mova esses arquivos para a pasta ``storage\1``.
* Serão criados os arquivos ``profile.bin`` e ``achievements.bin``, mova esses arquivos para a pasta ``storage\1``.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ To use Zwift online like normal, open the **hosts** shortcut and comment out or

## To upload activities to Strava (optional):

* Run **strava_auth** and allow it in Windows Firewall.
* Get CLIENT_ID and CLIENT_SECRET from https://www.strava.com/settings/api
* Run ``strava_auth.exe --client-id CLIENT_ID --client-secret CLIENT_SECRET`` and allow it in Windows Firewall.
* Open http://localhost:8000/ and authorize.
* Move the resulting strava_token.txt into the ``storage\1`` directory.
* Move the resulting ``strava_token.txt`` into the ``storage\1`` directory.
* If testing, ride at least 300 meters, shorter activities won't be uploaded.

Join the **zoffline** Strava group https://www.strava.com/clubs/zoffline
Expand All @@ -29,4 +30,4 @@ Join the **zoffline** Strava group https://www.strava.com/clubs/zoffline

* Disable zwift-offline (see [Enabling/Disabling zwift-offline](https://github.com/oldnapalm/zoffline-helper#enablingdisabling-zwift-offline) above).
* Run **get_profile**, type your Zwift login (e-mail) and password.
* Move the resulting profile.bin and achievements.bin into the ``storage\1`` directory.
* Move the resulting ``profile.bin`` and ``achievements.bin`` into the ``storage\1`` directory.

0 comments on commit 93aa49a

Please sign in to comment.