From 1171ebc21ddcb56a89044739001632c46bfa7ca9 Mon Sep 17 00:00:00 2001 From: Mihir Rabade Date: Sat, 6 Jan 2024 21:04:45 +0530 Subject: [PATCH 1/3] Update README.md Use code blocks for CLI commands --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cd298450e..b941efe31 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ depends on if you're running an Intel or Apple Silicon chip. - **Apple Chips**: Open a terminal and run this command: ```bash - sudo xattr -r -d com.apple.quarantine /Applications/Stretchly.app +sudo xattr -r -d com.apple.quarantine /Applications/Stretchly.app ``` If you install via [Homebrew](https://brew.sh), you can use the `--no-quarantine` flag to automatically apply the correct @@ -53,10 +53,19 @@ Not sure which chip your computer has? [Here's how to tell](https://support.appl ### Windows -You can also install *Stretchly* with [Chocolatey](https://chocolatey.org) by running the following command from the command line or from PowerShell: `choco install stretchly`. Upgrade with `choco upgrade stretchly`. +You can also install *Stretchly* with [Chocolatey](https://chocolatey.org) by running the following command from the command line or from PowerShell: +```powershell +choco install stretchly + +# To update: +choco upgrade stretchly +``` Stretchly is also available in Microsoft's [winget](https://docs.microsoft.com/en-us/windows/package-manager/winget/). -You can install it by running `winget install -e --id Stretchly.Stretchly`. +You can install it by running: +```powershell +winget install -e --id Stretchly.Stretchly +``` Stretchly can be also found at official [Microsoft Store](https://apps.microsoft.com/store/detail/stretchly/9PP2B76LQQBN?hl=en-us&gl=us). @@ -78,7 +87,11 @@ Please see [http://electron.atom.io/docs/api/tray/](http://electron.atom.io/docs For Natural breaks, you might need some packages too (`libxss-dev`). -If *Stretchly* is not starting, you might need to run `sudo sysctl kernel.unprivileged_userns_clone=1`. Read more [here](https://github.com/electron/electron/issues/17972). Depending on your distro, you probably want to do something similar to this, so the preferences are kept after reboot: Add `kernel.unprivileged_userns_clone=1` to `/etc/sysctl.d/00-local-userns.conf` and reboot. +If *Stretchly* is not starting, you might need to run: +```sh +sudo sysctl kernel.unprivileged_userns_clone=1 +``` +Read more [here](https://github.com/electron/electron/issues/17972). Depending on your distro, you probably want to do something similar to this, so the preferences are kept after reboot: Add `kernel.unprivileged_userns_clone=1` to `/etc/sysctl.d/00-local-userns.conf` and reboot. ### Running from source From a0765e9e6ffba4e99b2dda9cc2324362c66c1c17 Mon Sep 17 00:00:00 2001 From: Mihir Rabade Date: Sat, 6 Jan 2024 21:12:44 +0530 Subject: [PATCH 2/3] Update README.md Add more codeblocks --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b941efe31..da70f9531 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,16 @@ The latest official **installers** and **portable versions** for macOS, Windows ### macOS -It is recommended to install *Stretchly* with [Homebrew](https://brew.sh/) by running `brew update && brew install --cask stretchly`, see [Application Signing](#application-signing). When upgrading, run `brew update && brew upgrade --cask`. Don't forget to Quit Stretchly, first. +It is recommended to install *Stretchly* with [Homebrew](https://brew.sh/) by running: +```zsh +brew update && brew install --cask stretchly +``` +See [Application Signing](#application-signing). +When upgrading, run: +```zsh +brew update && brew upgrade --cask +``` +Don't forget to Quit Stretchly, first. If you're using [Alfred](https://www.alfredapp.com) or [Raycast](https://www.raycast.com/) on macOS you can use this [Alfred Workflow](https://github.com/KingOfSpades/stretchFred) or [Raycast Extension](https://www.raycast.com/u-ran/stretchly) to interact with Stretchly. @@ -56,8 +65,9 @@ Not sure which chip your computer has? [Here's how to tell](https://support.appl You can also install *Stretchly* with [Chocolatey](https://chocolatey.org) by running the following command from the command line or from PowerShell: ```powershell choco install stretchly - -# To update: +``` +To update: +```powershell choco upgrade stretchly ``` @@ -69,7 +79,10 @@ winget install -e --id Stretchly.Stretchly Stretchly can be also found at official [Microsoft Store](https://apps.microsoft.com/store/detail/stretchly/9PP2B76LQQBN?hl=en-us&gl=us). -You can install *Stretchly* for all users silently by running this as administrator: `installer.exe /S /allusers`. +You can install *Stretchly* for all users silently by running this as administrator: +```cmd +installer.exe /S /allusers +``` ### Linux / Portable From 1c66ee2a9b94707aa1167cd0430ab98118160187 Mon Sep 17 00:00:00 2001 From: Mihir Rabade Date: Sun, 7 Jan 2024 14:45:35 +0000 Subject: [PATCH 3/3] Update Readme.md Resolve #1416 reviews --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index da70f9531..7925142a0 100644 --- a/README.md +++ b/README.md @@ -26,16 +26,17 @@ The latest official **installers** and **portable versions** for macOS, Windows ### macOS -It is recommended to install *Stretchly* with [Homebrew](https://brew.sh/) by running: +It is recommended to install *Stretchly* with [Homebrew](https://brew.sh/) by running the folowing command. +See [Application Signing](#application-signing). ```zsh brew update && brew install --cask stretchly ``` -See [Application Signing](#application-signing). -When upgrading, run: + +When upgrading, run the following command. +Don't forget to Quit Stretchly, first. ```zsh brew update && brew upgrade --cask ``` -Don't forget to Quit Stretchly, first. If you're using [Alfred](https://www.alfredapp.com) or [Raycast](https://www.raycast.com/) on macOS you can use this [Alfred Workflow](https://github.com/KingOfSpades/stretchFred) or [Raycast Extension](https://www.raycast.com/u-ran/stretchly) to interact with Stretchly. @@ -62,13 +63,14 @@ Not sure which chip your computer has? [Here's how to tell](https://support.appl ### Windows -You can also install *Stretchly* with [Chocolatey](https://chocolatey.org) by running the following command from the command line or from PowerShell: +You can also install *Stretchly* with [Chocolatey](https://chocolatey.org) by running the following command from the command line or from PowerShell: ```powershell choco install stretchly ``` + To update: ```powershell -choco upgrade stretchly +choco upgrade stretchly ``` Stretchly is also available in Microsoft's [winget](https://docs.microsoft.com/en-us/windows/package-manager/winget/). @@ -79,7 +81,7 @@ winget install -e --id Stretchly.Stretchly Stretchly can be also found at official [Microsoft Store](https://apps.microsoft.com/store/detail/stretchly/9PP2B76LQQBN?hl=en-us&gl=us). -You can install *Stretchly* for all users silently by running this as administrator: +You can install *Stretchly* for all users silently by running this as administrator: ```cmd installer.exe /S /allusers ```