From 39713f806ad265e18a0bfc7c073324448cc5f3df Mon Sep 17 00:00:00 2001 From: Yoshify Date: Mon, 5 Jun 2023 07:46:26 +1000 Subject: [PATCH 1/4] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bd77fe4..f4e8be3 100644 --- a/README.md +++ b/README.md @@ -49,15 +49,15 @@ TED supports the following switches: - `-w` or `-width`: The width of the image when drawn, in pixels. By default this is **-1**. - A value of -1 disables fixed width scaling and instead uses automatic image scaling to resize (respecting aspect ratio) the image to the size of the longest line of text. - `-a` or `-align`: How the text should be aligned. Default is **Left**. Accepted values are **Left**, **Center** or **Right**. Not case-sensitive. -- `-line`: The text to be drawn. This switch can be repeated multiple times to draw multiple lines of text. It can contain special tokens: `@os`, `@userName`, and `@machineName`. These tokens get substituted at runtime with system values for the operating system, current user, and machine name. If no lines are provided, it will render with the following by default: +- `-line`: The text to be drawn. This switch can be repeated multiple times to draw multiple lines of text. It can contain special tokens: `@userName`, `@machineName`, `@osName` and `@osVersion`. These tokens get substituted at runtime with system values for the operating system, current user, and machine name. If no lines are provided, it will render with the following by default: - "USERNAME: @userName" - - "DEVICE NAME: @machineName" - - "OS: @os" + - "MACHINE NAME: @machineName" + - "OS: @osName" Example usage: ```shell -ted -di path/to/dark_image.png -li path/to/light_image.png -f Arial -fs 14 -ls 5 -hp 10 -vp 10 -line "Hello, @userName!" -line "You are using @os on @machineName." +ted -di path/to/dark_image.png -li path/to/light_image.png -f Arial -fs 14 -ls 5 -hp 10 -vp 10 -line "Hello, @userName!" -line "You are using @osName on @machineName." ``` In terms of real world usage, we've found this to be a fantastic tool for helping clients quickly identify key information about their machine whilst on the phone with them. From dfa5100c280007bd8b9a24d314cf269a79bca5e3 Mon Sep 17 00:00:00 2001 From: Bailey Eaton Date: Thu, 29 Jun 2023 14:34:32 +1000 Subject: [PATCH 2/4] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index f4e8be3..e5dc98d 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,15 @@ Compile, and use your new tokens! Contributions to TED are welcome! If you find any issues or have suggestions for improvement, please feel free to open an issue or submit a pull request. +## Supporting the project +:heart: the project and would like to show your support? Please consider donating to the following charities: +- [Black Dog](https://donate.blackdoginstitute.org.au/) +- [Cure4 CysticFibrosis Foundation](https://app.etapestry.com/onlineforms/Cure4CFFoundation/Donatenow.html) +- [Vinnies CEO Sleepout](https://www.ceosleepout.org.au/donation) +- [Care.org.au's Ukraine Humanitarian Crisis fund](https://www.care.org.au/appeals/ukraine-humanitarian-crisis/) +- [RedFrogs Australia](https://redfrogs.com.au/support/donate) +- [Love Your Sister (Sam's 1000)](https://www.loveyoursister.org/makeadonation) + ## License This project is licensed under the [GNU General Public License v3.0](https://github.com/HealthITAU/TED/blob/main/LICENSE) From 56891830adfd05e63fe962602991e11b6ce0640a Mon Sep 17 00:00:00 2001 From: Bailey Eaton Date: Fri, 30 Jun 2023 09:18:05 +1000 Subject: [PATCH 3/4] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index e5dc98d..1fa392b 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,7 @@ In terms of real world usage, we've found this to be a fantastic tool for helpin ## Adding Tokens Adding Tokens to the text system is simple, but will require editing the source and compiling your own binary. -Tokens are stored within TokenLookup inside Tokenizer.cs, linked below. - -https://github.com/HealthITAU/TED/blob/678132907390cdbbe46e56f13e52fa6ab3b0c925/src/TED/TED.Utils/Tokenizer.cs#LL15C1-L20C11 +Tokens are stored within TokenLookup inside Tokenizer.cs, found [here.](https://github.com/HealthITAU/TED/blob/main/src/TED/TED.Utils/Tokenizer.cs) Simply add to this dictionary your token as the key and what you'd like to subtitute it with as the value. Compile, and use your new tokens! From 7f019ab7fba786739243780f4d2c21d6e86bbdd8 Mon Sep 17 00:00:00 2001 From: Bailey Eaton Date: Fri, 30 Jun 2023 13:53:58 +1000 Subject: [PATCH 4/4] Update README.md Updated install instructions. --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1fa392b..6f18fcd 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,10 @@ One of the only ways I believe to get around these limitations would be to have ## Installation -1. Download the latest compiled binary for TED from the [Releases](https://github.com/HealthITAU/TED/releases) page. - -2. Extract the downloaded archive to a location on your computer. - -3. Optionally, add the extracted directory to your system's PATH environment variable for easier command-line access to TED. +Download the latest compiled binary for TED. You can find the latest downloads for TED below - this ensures your RMM always grabs the latest version! +- [x64](https://github.com/HealthITAU/TED/releases/latest/download/TED-x64.exe) +- [x86](https://github.com/HealthITAU/TED/releases/latest/download/TED-x86.exe) +- [winarm64](https://github.com/HealthITAU/TED/releases/latest/download/TED-winarm64.exe) We recommend managing and deploying TED via your RMM.