mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-16 07:10:30 -07:00
more formatting
This commit is contained in:
parent
1b9f8cef90
commit
b01ab117ae
11
README.md
11
README.md
@ -81,31 +81,26 @@ On Arch Linux based distros you may install `bluez` first, as it may not be inst
|
|||||||
```bash
|
```bash
|
||||||
sudo pacman -S bluez bluez-utils
|
sudo pacman -S bluez bluez-utils
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Further steps</summary>
|
<summary>Further steps</summary>
|
||||||
|
|
||||||
|
You may want to use the command line interface for hackiness...
|
||||||
You may want to use the command line interface for hackiness...
|
|
||||||
|
|
||||||
You may or may not need to install ImageMagick and Ghostscript, depending on your distro.
|
You may or may not need to install ImageMagick and Ghostscript, depending on your distro.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install imagemagick ghostscript
|
sudo apt install imagemagick ghostscript
|
||||||
```
|
```
|
||||||
or use your distro's package manager.
|
or use your distro's package manager.
|
||||||
|
|
||||||
|
|
||||||
Extra configuration is required for ImageMagick to work. Because IM is made for external webserver, a strict security policy is applied. You need to add the following line to `/etc/ImageMagick-6/policy.xml` before `</policymap>`:
|
Extra configuration is required for ImageMagick to work. Because IM is made for external webserver, a strict security policy is applied. You need to add the following line to `/etc/ImageMagick-6/policy.xml` before `</policymap>`:
|
||||||
```xml
|
```xml
|
||||||
<policy domain="coder" rights="read | write" pattern="PDM" />
|
<policy domain="coder" rights="read | write" pattern="PDM" />
|
||||||
```
|
```
|
||||||
|
|
||||||
Because this script is only accesible by localhost, or at most your local network, this is safe.
|
Because this script is only accesible by localhost, or at most your local network, this is safe.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*Packaging is also on the way!*
|
*Packaging is also on the way!*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user