dev/zhi #1
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
|
||||
|
||||
|
||||
@@ -106,32 +106,30 @@ PaddedCell/
|
||||
└── README.zh-CN.md # 本文档 (简体中文)
|
||||
```
|
||||
|
||||
## 开发
|
||||
## 安装
|
||||
|
||||
```bash
|
||||
# Clone
|
||||
git clone https://git.hangman-lab.top/nav/PaddedCell.git
|
||||
cd PaddedCell
|
||||
# 安装
|
||||
node install.mjs --install
|
||||
|
||||
# Build pass_mgr (需要 Go)
|
||||
cd pass_mgr
|
||||
go build -o pass_mgr src/main.go
|
||||
|
||||
# Build pcexec (需要 Node.js)
|
||||
cd ../pcexec
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
# Build safe-restart (需要 Node.js)
|
||||
cd ../safe-restart
|
||||
npm install
|
||||
npm run build
|
||||
# 卸载
|
||||
node install.mjs --uninstall
|
||||
```
|
||||
|
||||
## 分支
|
||||
## 使用
|
||||
|
||||
- `main` - 主分支
|
||||
- `dev/zhi` - 开发分支
|
||||
### pass_mgr
|
||||
|
||||
```bash
|
||||
# 初始化(首次使用前必须执行)
|
||||
~/.openclaw/bin/pass_mgr admin init
|
||||
|
||||
# 设置密码
|
||||
~/.openclaw/bin/pass_mgr set mykey mypassword
|
||||
|
||||
# 获取密码
|
||||
~/.openclaw/bin/pass_mgr get mykey
|
||||
```
|
||||
|
||||
## 许可证
|
||||
|
||||
|
||||
Reference in New Issue
Block a user