@dbalabka/chrome-wsl 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -19,18 +19,18 @@ A small WSL helper to open Google Chrome on Windows with remote debugging (port
|
|
|
19
19
|
|
|
20
20
|
## Usage
|
|
21
21
|
```sh
|
|
22
|
-
./
|
|
22
|
+
./chrome-wsl.sh
|
|
23
23
|
```
|
|
24
24
|
- If portproxy/firewall entries are missing, run the printed admin PowerShell commands on Windows, then rerun the script.
|
|
25
25
|
- The script logs `socat` output to `/tmp/socat-9222.log`.
|
|
26
26
|
- To stop the `socat` forwarder:
|
|
27
27
|
```sh
|
|
28
|
-
./
|
|
28
|
+
./chrome-wsl.sh --stop
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Installation (one-liner)
|
|
32
32
|
```sh
|
|
33
|
-
sudo install -m 755
|
|
33
|
+
sudo install -m 755 chrome-wsl.sh /usr/local/bin/start-chrome-wsl
|
|
34
34
|
```
|
|
35
35
|
- Uses the local script (no curl/wget download needed). If you cloned the repo elsewhere, run from that path.
|
|
36
36
|
- Adjust `WINDOWS_CHROME_PATH` or `PORT` inside the script if needed.
|
|
@@ -38,9 +38,9 @@ sudo install -m 755 start_chrome_wsl.sh /usr/local/bin/start-chrome-wsl
|
|
|
38
38
|
|
|
39
39
|
## Installation via npx
|
|
40
40
|
```sh
|
|
41
|
-
npx start-chrome-wsl
|
|
41
|
+
npx --yes @dbalabka/chrome-wsl start-chrome-wsl
|
|
42
42
|
```
|
|
43
|
-
- Runs directly via npm without cloning;
|
|
43
|
+
- Runs directly via npm without cloning; explicitly invokes the `start-chrome-wsl` binary from the scoped package.
|
|
44
44
|
- Use `npm install -g start-chrome-wsl` to keep it available without npx.
|
|
45
45
|
|
|
46
46
|
## Installation via pipx
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbalabka/chrome-wsl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "WSL helper to start Windows Chrome with remote debugging and socat port forwarding.",
|
|
5
5
|
"bin": {
|
|
6
|
-
"
|
|
6
|
+
"chrome-wsl": "chrome-wsl.sh"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
|
-
"
|
|
9
|
+
"chrome-wsl.sh",
|
|
10
10
|
"README.md"
|
|
11
11
|
],
|
|
12
12
|
"keywords": [
|
|
File without changes
|