Gildas Lormeau 7 лет назад
Родитель
Сommit
9f630a57da
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      cli/README.MD

+ 5 - 5
cli/README.MD

@@ -2,7 +2,7 @@
 
 ## Introduction
 
-SingleFile can be launched from the command line by running it into a (headless) browser. 
+SingleFile can be launched from the command line by running it into a (headless) browser. It is run as a standalone script injected into the page to save.
 
 It supports:
 
@@ -15,7 +15,7 @@ This is a **work in progress**.
 ## Run SingleFile
 
 ### Prerequisites
-- [Chrome/Chromium](https://www.google.com/chrome/) and [Node.js](https://nodejs.org) must be installed first. It is recommended that Chrome/Chromium executable can be found through the `PATH` environment variable. Otherwise you will need to use the `--browser-executable-path` option to help SingleFile locating the executable.
+- [Node.js](https://nodejs.org) must be installed first. To use Puppeteer or Selenium WebDriver, [Chrome/Chromium](https://www.google.com/chrome/) must also be installed. It is recommended that Chrome/Chromium executable can be found through the `PATH` environment variable. Otherwise you will need to use the `--browser-executable-path` option to help SingleFile locating the executable.
 - By default SingleFile will use Puppeteer to connect to the browser. If you want to use Selenium WebDriver instead, you must install it first and ensure the executable can be found through the `PATH` environment variable.
 
 ### Install
@@ -31,20 +31,20 @@ This is a **work in progress**.
 
   `$ npm install`
   
-- Make `single-file.js` executable (Linux/Unix).
+- Make `single-file.js` executable (Linux/Unix/BSD etc.).
 
   `$ chmod +x single-file.js`
 
 ### Run
 - Display help
 
-  `$ ./single-file.js --help` (Linux/Unix)
+  `$ ./single-file.js --help` (Linux/Unix/BSD etc.)
 
   `> node single-file.js --help` (Windows)
   
 - Saving https://www.wikipedia.org into `wikipedia.html`
 
-  `$ ./single-file.js https://www.wikipedia.org wikipedia.html` (Linux/Unix)
+  `$ ./single-file.js https://www.wikipedia.org wikipedia.html` (Linux/Unix/BSD etc.)
   
   `> node single-file.js https://www.wikipedia.org wikipedia.html` (Windows)