devtunnel-cli 3.0.0 ā 3.0.1
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 +12 -4
- package/package.json +1 -1
- package/src/core/RUN.js +2 -1
package/README.md
CHANGED
|
@@ -11,19 +11,27 @@
|
|
|
11
11
|
|
|
12
12
|
## ā” Quick Start
|
|
13
13
|
|
|
14
|
-
###
|
|
14
|
+
### Option 1: Install via npm (Recommended)
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g devtunnel-cli
|
|
17
|
+
devtunnel
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Option 2: Download from GitHub
|
|
21
|
+
|
|
22
|
+
**Windows:**
|
|
15
23
|
Double-click `START.bat`
|
|
16
24
|
|
|
17
|
-
|
|
25
|
+
**macOS:**
|
|
18
26
|
Double-click `START.command`
|
|
19
27
|
|
|
20
|
-
|
|
28
|
+
**Linux:**
|
|
21
29
|
```bash
|
|
22
30
|
chmod +x START.sh
|
|
23
31
|
./START.sh
|
|
24
32
|
```
|
|
25
33
|
|
|
26
|
-
Or use npm
|
|
34
|
+
**Or use npm:**
|
|
27
35
|
```bash
|
|
28
36
|
npm start
|
|
29
37
|
```
|
package/package.json
CHANGED
package/src/core/RUN.js
CHANGED
|
@@ -13,7 +13,8 @@ console.log("\nš DevTunnel - Universal Launcher\n");
|
|
|
13
13
|
console.log(`š Platform detected: ${platform()}\n`);
|
|
14
14
|
|
|
15
15
|
// Start the main app
|
|
16
|
-
|
|
16
|
+
// start.js is in the same directory as RUN.js (src/core/)
|
|
17
|
+
const startPath = join(__dirname, "start.js");
|
|
17
18
|
const child = spawn("node", [startPath], {
|
|
18
19
|
stdio: "inherit",
|
|
19
20
|
shell: false
|