docs: update README with new install usage
This commit is contained in:
38
README.md
38
README.md
@@ -106,32 +106,30 @@ PaddedCell/
|
||||
└── README.zh-CN.md # Chinese version
|
||||
```
|
||||
|
||||
## Development
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# Clone
|
||||
git clone https://git.hangman-lab.top/nav/PaddedCell.git
|
||||
cd PaddedCell
|
||||
# Install
|
||||
node install.mjs --install
|
||||
|
||||
# Build pass_mgr (requires Go)
|
||||
cd pass_mgr
|
||||
go build -o pass_mgr src/main.go
|
||||
|
||||
# Build pcexec (requires Node.js)
|
||||
cd ../pcexec
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
# Build safe-restart (requires Node.js)
|
||||
cd ../safe-restart
|
||||
npm install
|
||||
npm run build
|
||||
# Uninstall
|
||||
node install.mjs --uninstall
|
||||
```
|
||||
|
||||
## Branches
|
||||
## Usage
|
||||
|
||||
- `main` - Main branch
|
||||
- `dev/zhi` - Development branch
|
||||
### pass_mgr
|
||||
|
||||
```bash
|
||||
# Initialize (required before first use)
|
||||
~/.openclaw/bin/pass_mgr admin init
|
||||
|
||||
# Set password
|
||||
~/.openclaw/bin/pass_mgr set mykey mypassword
|
||||
|
||||
# Get password
|
||||
~/.openclaw/bin/pass_mgr get mykey
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user