Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Use code blocks for CLI commands
  • Loading branch information
MRDGH2821 authored Jan 6, 2024
1 parent 41cfee7 commit 1171ebc
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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).

Expand All @@ -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

Expand Down

0 comments on commit 1171ebc

Please sign in to comment.