mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 02:01:36 +03:00
Inserting all the prerequisites relating to building helper, i.e. yubikey-manager.
This commit is contained in:
parent
2e98de5c1e
commit
3b9aa5b706
@ -28,12 +28,30 @@ on `yubikey-manager >=5, <6`. It will likely not work with versions outside
|
||||
this range!
|
||||
|
||||
=== Building the Yubico Authenticator Helper
|
||||
*Requirements: Python >= 3.8, SWIG, and Poetry.*
|
||||
|
||||
The GUI requires a compiled version of Helper to run, which is built from the
|
||||
sources in helper/ in this repository. This needs to be build prior to running
|
||||
`flutter build` or `flutter run`, by running `build-helper.sh` (or
|
||||
`build-helper.bat` on Windows).
|
||||
sources in helper/ in this repository. Requirements for all platforms are
|
||||
Python >= 3.8 and Poetry. This needs to be built prior to running
|
||||
`flutter build` or `flutter run`.
|
||||
|
||||
==== Windows
|
||||
|
||||
Make sure the http://www.swig.org/[swig] executable is in your PATH.
|
||||
|
||||
==== macOS
|
||||
|
||||
$ brew install swig
|
||||
|
||||
==== Linux (Debian-based distributions)
|
||||
|
||||
$ sudo apt install swig libu2f-udev pcscd libpcsclite-dev
|
||||
|
||||
==== Linux (RPM-based distributons)
|
||||
|
||||
# Tested on Fedora 34
|
||||
$ sudo dnf install pcsc-lite-devel python3-devel swig
|
||||
|
||||
When prerequisites are installed you build the helper by running
|
||||
`build-helper.sh` (or`build-helper.bat` on Windows).
|
||||
|
||||
NOTE: You will need to re-run the build script if changes have been made to
|
||||
Helper's code, or if `flutter clean` has been run.
|
||||
|
Loading…
Reference in New Issue
Block a user