No terminal window on windows
This commit is contained in:
11
README.md
11
README.md
@@ -8,6 +8,7 @@ This program runs on the user’s machine and listens on a loopback address only
|
||||
|
||||
- Exposes `GET /health` for a simple health check.
|
||||
- Exposes `GET /open?path=...` and `POST /open` to open a folder.
|
||||
- Exposes `GET /control` (HTML) and `GET /logs` (text) to view recent logs.
|
||||
- Normalizes and validates the requested path:
|
||||
- Accepts absolute paths only.
|
||||
- If a file path is provided, it opens the containing directory.
|
||||
@@ -150,6 +151,8 @@ Notes:
|
||||
- Installs to `%LOCALAPPDATA%\luxtools-client\luxtools-client.exe`
|
||||
- Stores config in `%LOCALAPPDATA%\luxtools-client\config.json`
|
||||
- Re-running `install` updates the EXE in place and refreshes the task.
|
||||
- Windows builds use the GUI subsystem, so the app starts without a console window.
|
||||
- Logs are written next to `config.json` and can be viewed at `http://127.0.0.1:8765/control` or `http://127.0.0.1:8765/logs`.
|
||||
|
||||
## API
|
||||
|
||||
@@ -195,6 +198,14 @@ curl -i \
|
||||
'http://127.0.0.1:8765/open?path=/tmp'
|
||||
```
|
||||
|
||||
### `GET /logs`
|
||||
|
||||
Returns recent log output as plain text.
|
||||
|
||||
### `GET /control`
|
||||
|
||||
Shows a simple HTML page with recent log output.
|
||||
|
||||
## OS support
|
||||
|
||||
- Linux: uses `xdg-open`.
|
||||
|
||||
Reference in New Issue
Block a user