Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.36 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.36 KB

zwift_converter

This converter is a tool for converting textual workouts to a Zwift .zwo format.

https://whatsonzwift.com/workouts

Running the program

You'll need Flutter (from Google) in order to compile/run:

https://docs.flutter.dev/get-started/install

When flutter is installed on your system, execute the following commands in the repo:

  • flutter clean
  • flutter pub get
  • flutter build windows
  • flutter run -d windows

Installing from MSIX installer

The MSIX installer need only created for distributing the app

First you'll need to install the certificate.
For that, please follow the instructions at the following link:

Then you can install the program:
.\build\windows\runner\Release\zwift_converter.msix

Creating a MSIX installer

  • flutter clean
  • flutter pub get
  • flutter build windows
  • flutter pub run msix:create

Creating a certificate

On Windows, please install OpenSSL first:
https://slproweb.com/products/Win32OpenSSL.html

openssl genrsa -out myrsakey.key 2048
openssl req -new -key myrsakey.key -out mycsrkey.csr
openssl x509 -in mycsrkey.csr -out mycrtakey.crt -req -signkey myrsakey.key -days 600
openssl pkcs12 -export -out CERTIFICATE.pfx -inkey myrsakey.key -in mycrtakey.crt