Skip to content

Commit

Permalink
chore: 修复打包
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Apr 13, 2021
1 parent c90e2c8 commit 3d713a7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ jobs:
# 获取版本号 [continuous integration - Get the current pushed tag in Github Actions - Stack Overflow]( https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions )
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
# 打包
- uses: montudor/[email protected]
# - uses: montudor/[email protected]
# with:
# args: zip -r CapsLockX-${{ env.RELEASE_VERSION }}.zip Core Data docs Modules Tools CapsLockX* LICENSE *.md "启动 CapsLockX.lnk"
# 打包
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
args: zip -r CapsLockX-${{ env.RELEASE_VERSION }}.zip Core Data docs Modules Tools CapsLockX* LICENSE *.md "启动 CapsLockX.lnk"
filename: CapsLockX-${{ env.RELEASE_VERSION }}.zip
exclusions: "*.git* /*node_modules/*"
# 扔附件
- uses: svenstaro/upload-release-action@v2
with:
Expand Down
29 changes: 16 additions & 13 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,22 @@

## 入门教程第一

### 安装
### 安装与使用

#### 安装方式 1
#### 绿色程序包

源码打包就是软件本体,无需编译,纯绿色软件解压即用。源码 + 程序包
源码打包就是软件本体,无需编译,纯绿色软件解压即用。源码 + 程序包,推荐第一个(最快)。

- [下载 JSDelivrCDN-发布程序包.zip](https://cdn.jsdelivr.net/gh/snolab/CapsLockX@gh-pages/CapsLockX-latest.zip)
- [下载 CloudFlareCDN-发布程序包.zip](https://capslockx.snomiao.com/CapsLockX-latest.zip)
- [下载 全球用户-发布程序包.zip](https://capslockx.snomiao.com/CapsLockX-latest.zip)
- [下载 全球用户-GitHub-仓库程序包.zip](https://github.com/snomiao/CapsLockX/archive/master.zip)
- [下载 灾难备份-BitBucket-仓库程序包.zip](https://bitbucket.org/snomiao/capslockx/get/master.zip)
- [下载 大陆用户-Gitee-仓库程序包.zip (需登录)](https://gitee.com/snomiao/CapslockX/repository/archive/master.zip)

解压后使用即可,启动与自启动的方法: 双击 `CapsLockX.exe` 即可启动脚本,如需添加启动项,请在开始菜单 - 运行输入 shell:startup 然后给本程序创建快捷方式,扔进去就可以了。

#### 命令行安装
#### 命令行方式安装

以下几种任选其一,推荐第一个(最快)

Expand Down Expand Up @@ -216,7 +219,7 @@ CapsLockX 默认加载了一些常用的模块,功能与使用方法已在下
| 在 Anki-学习界面 | 5 或 NumPad5 | 撤销 |
| 在 Anki-学习界面 | 6 或 NumPad6 | 暂停卡片 |
| 在 Anki-学习界面 | Alt + i | 快速导入剪贴版的内容(按 Tab 分割) / 比如可以从 Excel 复制 |
| 在 Anki-添加卡片界面 | Alt + s | 按下 添加 按钮 |
| 在 Anki-添加卡片界面 | Alt + s | 按下 添加 按钮 |

> 此插件可配合手柄使用,使用 XPadder 配置手柄摇杆映射到方向键即可。
>
Expand Down Expand Up @@ -308,21 +311,21 @@ CapsLockX 默认加载了一些常用的模块,功能与使用方法已在下

### TIM添加常驻功能模块

|模式|按键|功能|
| - | :-: | - |
| 在Tim窗口内 |Alt + f| 焦点定位到左上角搜索框|
| 在Tim窗口内 |Ctrl + PgUp| 切换上一个窗口|
| 在Tim窗口内 |Ctrl + PgDn| 切换下一个窗口|
| 模式 | 按键 | 功能 |
| ----------- | :---------: | ---------------------- |
| 在Tim窗口内 | Alt + f | 焦点定位到左上角搜索框 |
| 在Tim窗口内 | Ctrl + PgUp | 切换上一个窗口 |
| 在Tim窗口内 | Ctrl + PgDn | 切换下一个窗口 |

<!-- 模块文件名:应用-讯飞输入法语音悬浮窗.ahk-->

### 讯飞输入法悬浮窗插件

#### 用法

| 作用于 | 按键| 功能说明 |
| - | :-: | - |
| 全局 | Win + H | 启动/切换讯飞语音输入 |
| 作用于 | 按键 | 功能说明 |
| ------ | :-----: | --------------------- |
| 全局 | Win + H | 启动/切换讯飞语音输入 |

####

Expand Down

0 comments on commit 3d713a7

Please sign in to comment.