Skip to content

Commit 57781f1

Browse files
committed
feat: 新增 cmdpal 安装方式
1 parent a6915e7 commit 57781f1

4 files changed

Lines changed: 20 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@ jobs:
2727
uses: svenstaro/upload-release-action@v2
2828
with:
2929
repo_token: ${{secrets.GITHUB_TOKEN}}
30+
tag: ${{ github.ref }}
3031
file: bin/Translator_x64.zip
3132
asset_name: Translator-${{env.PLUGIN_VERSION}}-x64.zip
3233

3334
- name: Upload ARM64 To Release
3435
uses: svenstaro/upload-release-action@v2
3536
with:
3637
repo_token: ${{secrets.GITHUB_TOKEN}}
38+
tag: ${{ github.ref }}
3739
file: bin/Translator_ARM64.zip
3840
asset_name: Translator-${{env.PLUGIN_VERSION}}-arm64.zip

.github/workflows/build_cmdpal.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@ jobs:
5555
uses: svenstaro/upload-release-action@v2
5656
with:
5757
repo_token: ${{secrets.GITHUB_TOKEN}}
58+
tag: ${{ github.ref }}
5859
file: build/*.msix
5960
file_glob: true

readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@
9494

9595
## Install
9696

97+
### Cmdpal
98+
99+
通过 MicroStore 安装 - [商店页面](https://apps.microsoft.com/store/detail/9NWN01SZ6KNK?cid=DevShareMCLPCS)
100+
101+
### PowerToys Run 插件
102+
97103
1. 关闭 PowerToys
98104
2. 下载 [Translator.zip](https://github.com/N0I0C0K/PowerTranslator/releases)
99105
3. 解压到`%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins`
@@ -103,7 +109,9 @@
103109

104110
(参考官方[第三方插件安装文档](https://github.com/microsoft/PowerToys/blob/main/doc/thirdPartyRunPlugins.md))
105111

106-
### Via [ptr](https://github.com/8LWXpg/ptr)
112+
---
113+
114+
Via [ptr](https://github.com/8LWXpg/ptr)
107115

108116
```shell
109117
ptr add Translator N0I0C0K/PowerTranslator

readme_en.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ All the plugin function in Powertyos run also support in cmdpal.
9393

9494
## Install
9595

96+
### Cmdpal
97+
98+
Install via MicroStore - [Store Page](https://apps.microsoft.com/store/detail/9NWN01SZ6KNK?cid=DevShareMCLPCS)
99+
100+
### PowerToys Run Plugin
101+
96102
1. Close PowerToys.
97103
2. Download [Translator.zip](https://github.com/N0I0C0K/PowerTranslator/releases).
98104
3. Extract it to `%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins`.
@@ -102,7 +108,8 @@ All the plugin function in Powertyos run also support in cmdpal.
102108

103109
Refer to official documents, [Third-Party plugins for PowerToy Run](https://github.com/microsoft/PowerToys/blob/main/doc/thirdPartyRunPlugins.md)
104110

105-
### Via [ptr](https://github.com/8LWXpg/ptr)
111+
---
112+
Via [ptr](https://github.com/8LWXpg/ptr)
106113

107114
```shell
108115
ptr add Translator N0I0C0K/PowerTranslator

0 commit comments

Comments
 (0)