docs: update README with new install usage

This commit is contained in:
zhi
2026-03-05 11:50:28 +00:00
parent 0daf1432a7
commit 15474eee48
2 changed files with 36 additions and 40 deletions

View File

@@ -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