Merge pull request #349 from charminULTRA/patch-6

Update meshtastic-flasher.mdx
This commit is contained in:
Garth Vander Houwen 2022-06-24 22:11:23 -07:00 committed by GitHub
commit bed5db2ba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,74 +99,11 @@ sudo apt install -y python3 python3-pip python3-venv
### Install App ### Install App
This is the preferred installation method for `meshtastic-flasher`.
<Tabs
groupId="operating-system"
defaultValue="linux"
values={[
{label: 'Linux', value: 'linux'},
{label: 'macOS', value: 'macos'},
{label: 'Windows', value: 'windows'},
]}>
<TabItem value="linux">
```shell title="Install Meshtastic Flasher"
python3 --version
# ensure you are using at least python v3.6
# change to a directory where you want to create a python virtual environment
mkdir some_dir
cd some_dir
# if the following command fails, it might tell you what package to install
python3 -m venv venv
# activate the python virtual environment
source venv/bin/activate
# your prompt should change - it should include "(venv) in the front
# upgrade pip
pip install --upgrade pip
pip install meshtastic-flasher
```
```shell title="Running Meshtastic Flasher"
meshtastic-flasher
```
</TabItem>
<TabItem value="macos">
<div className="indexCtasBody">
<Link
className={'button button--outline button--lg cta--button'}
to={'https://github.com/meshtastic/Meshtastic-gui-installer/releases/tag/macapp1.0.0'}
>
Download macOS application
</Link>
</div>
Once downloaded, unzip the file and drag it to `~/Applications`. It may take a moment to load as it downloads dependencies required to interact with your device, so be patient. The first time running it can take a few minutes.
</TabItem>
<TabItem value="windows">
<div className="indexCtasBody">
<Link
className={'button button--outline button--lg cta--button'}
to={'https://github.com/meshtastic/Meshtastic-gui-installer/releases/tag/winapp1.0.3'}
>
Download Windows application
</Link>
</div>
Once downloaded, unzip the file and run it. It may take a moment to load as it downloads dependencies required to interact with your device, so be patient. The first time running it can take a few minutes.
</TabItem>
</Tabs>
<details>
<summary> <summary>
Install using `pip` Install using `pip`
</summary> </summary>
This option is typically for developers. Note: The previous "single executable" installation option has been deprecated as of March 10, 2022.
<Tabs <Tabs
groupId="operating-system" groupId="operating-system"
@ -244,7 +181,7 @@ meshtastic-flasher
</TabItem> </TabItem>
</Tabs> </Tabs>
</details>
## Flashing the Device ## Flashing the Device