Compare commits
2 commits
2f2eccf053
...
25d50c375b
| Author | SHA1 | Date | |
|---|---|---|---|
| 25d50c375b | |||
| 9c9ab92a8d |
2 changed files with 7 additions and 3 deletions
|
|
@ -23,6 +23,10 @@ This is meant as a **starting point**. Review and tighten the resulting policy b
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
If using my artifacts from the Releases page, you may wish to verify the GPG signatures with the key.
|
||||||
|
|
||||||
|
It can be found at https://mig5.net/static/mig5.asc . The fingerprint is `00AE817C24A10C2540461A9C1D7CDE0234DB458D`.
|
||||||
|
|
||||||
### Poetry
|
### Poetry
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
@ -42,7 +46,7 @@ Download the CSPresso.AppImage from the releases page, make it executable with `
|
||||||
## Run
|
## Run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
poetry run cspresso https://example.com --max-pages 10
|
cspresso https://example.com --max-pages 10
|
||||||
```
|
```
|
||||||
|
|
||||||
The tool will:
|
The tool will:
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ from __future__ import annotations
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess # nosec
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
import time
|
import time
|
||||||
|
|
@ -145,7 +145,7 @@ def _release_install_lock(lock_path: Path) -> None:
|
||||||
try:
|
try:
|
||||||
lock_path.unlink(missing_ok=True)
|
lock_path.unlink(missing_ok=True)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass # nosec
|
||||||
|
|
||||||
|
|
||||||
def _install_chromium(browsers_path: Path, with_deps: bool = False) -> None:
|
def _install_chromium(browsers_path: Path, with_deps: bool = False) -> None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue