修改README

This commit is contained in:
zenuo
2019-04-30 14:18:11 +08:00
parent bacd4e14c1
commit 9ea49d8e3e
4 changed files with 33 additions and 37 deletions
+33 -37
View File
@@ -6,26 +6,44 @@
## 如何使用这个注册机
1. [从这里](https://github.com/DoubleLabyrinth/navicat-keygen/releases)下载最新的release。
> 为便于离线激活,将安装包解压在`家目录`
2. 使用`navicat-patcher.exe`替换掉`navicat.exe``libcc.dll`里的Navicat激活公钥。
1. 运行Navicat,使其初始化环境:
```
navicat-patcher.exe <Navicat installation path> [RSA-2048 PEM file]
```
```bash
~/navicat121_premium_en_x64/start_navicat
```
* `<Navicat installation path>`: Navicat的完整安装路径。
__这个参数必须指定。__
首次启动时,会提示如下两个窗口,点击“Cancel”即可:
* `[RSA-2048 PEM file]`: RSA-2048私钥文件的完整路径或相对路径。
__这个参数是可选的。__ 如果未指定,`navicat-patcher.exe`将会在当前目录生成一个新的RSA-2048私钥文件。
![](image/Screenshot_2019-04-30_12-31-33.png)
__例如:(在cmd.exe中)__
![](image/Screenshot_2019-04-30_12-31-52.png)
```
navicat-patcher.exe "C:\Program Files\PremiumSoft\Navicat Premium 12"
直至出现`Registration`窗口,选择`Trial`,待加载完成后关闭Navicat,执行`步骤2`:
![](image/Screenshot_2019-04-30_12-32-43.png)
2. [从这里](https://github.com/DoubleLabyrinth/navicat-keygen/releases)下载最新的release,并且解压。
```bash
curl -O -L https://github.com/DoubleLabyrinth/navicat-keygen/releases/download/v3.1/navicat-keygen-for-x64.zip && \
unzip navicat-keygen-for-x64.zip
```
3. 下载`navicat-pacther.sh`和`navicat-keygen.sh`
```bash
curl -O -L https://raw.githubusercontent.com/zenuo/navicat-keygen/linux/bash/navicat-patcher.sh && \
chmod +x navicat-patcher.sh && \
curl -O -L https://raw.githubusercontent.com/zenuo/navicat-keygen/linux/bash/navicat-keygen.sh && \
chmod +x navicat-keygen.sh
```
3. 使用`navicat-patcher.exe`替换掉`navicat.exe`和`libcc.dll`里的Navicat激活公钥。
```bash
./navicat-patcher.sh
```
__Navicat Premium 12.1.12 简体中文版已通过测试__。下面将是一份样例输出。
@@ -118,29 +136,7 @@
3. 接下来使用`navicat-keygen.exe`来生成序列号和激活码
```
navicat-keygen.exe <-bin|-text> [-adv] <RSA-2048 PrivateKey(PEM file)>
```
* `<-bin|-text>`: 必须是`-bin`或`-text`。
如果指定了`-bin``navicat-keygen.exe`最终将生成`license_file`文件。这个选项是给Navicat旧激活方式使用的。
如果指定了`-text``navicat-keygen.exe`最终将生成Base64样式的激活码。这个选项是给Navicat新激活方式使用的。
__这个参数必须指定。__
* `[-adv]`: 开启高级模式。
__这个参数是可选的。__ 如果指定了这个参数,`navicat-keygen.exe`将会要求你手工填写产品ID号、语言标识号。这个选项一般是给以后用的。
* `<RSA-2048 PrivateKey(PEM file)>`: RSA-2048私钥文件的完整路径或相对路径。
__这个参数必须指定。__
__例如:(在cmd.exe中)__
```bash
navicat-keygen.exe -text .\RegPrivateKey.pem
./navicat-keygen.sh
```
你会被要求选择Navicat产品类别、语言以及输入主版本号。之后会随机生成一个序列号。
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB