From 0020fd733070e038279379b3624218161b33ccc9 Mon Sep 17 00:00:00 2001 From: Ric Letson <78682404+RicInNewMexico@users.noreply.github.com> Date: Mon, 28 Feb 2022 17:29:38 -0700 Subject: [PATCH] Added renaming of downloaded executables All other docs simply use "meshtastic" as the command to execute when we give example commands. I've added commands to these instructions (for windows, mac & linux) which will rename the meshtastic_ubuntu, meshtastic_mac or meshtastic_windows to simply 'meshtastic' so that user attempts to follow other documentation provided have a better chance at success. --- docs/software/python/standalone.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/software/python/standalone.md b/docs/software/python/standalone.md index e65dc69a..7d9a0aba 100644 --- a/docs/software/python/standalone.md +++ b/docs/software/python/standalone.md @@ -23,16 +23,16 @@ They can be found on the [Releases](https://github.com/meshtastic/Meshtastic-pyt * Download meshtastic_ubuntu -* Run the following command to make the file executable: +* Run the following command to make the file executable and rename it 'meshtastic': ``` -chmod +x meshtastic_ubuntu +chmod +x meshtastic_ubuntu && mv meshtastic_ubuntu meshtastic ``` * To run the cli: ``` -./meshtastic_ubuntu +./meshtastic ``` :::tip @@ -44,16 +44,16 @@ Copy (or move) this binary somewhere in your path. * Download meshtastic_mac -* Run the following command to make the file executable: +* Run the following command to make the file executable and to rename it 'meshtastic': ``` -chmod +x meshtastic_mac +chmod +x meshtastic_mac && mv meshtastic_mac meshtastic ``` * Try to run it: ``` -./meshtastic_mac +./meshtastic ``` :::note @@ -66,7 +66,7 @@ chmod +x meshtastic_mac * Try to run it again: ``` -./meshtastic_mac +./meshtastic ``` :::note @@ -78,7 +78,7 @@ You may get a dialog that says: * Now when you want to run it, you can simply run: ``` -./meshtastic_mac +./meshtastic ``` :::tip @@ -90,12 +90,12 @@ Copy (or move) this binary somewhere in your path. * Download meshtastic_windows -* Rename to meshtastic_windows.exe +* Rename to meshtastic.exe * To run, open a windows command prompt, navigate to the location of the executable and run: ``` -meshtastic_windows.exe +meshtastic.exe ```