Skip to content

Commit c1708ef

Browse files
committed
Upgrade to 0.1.4
1 parent 6bef97b commit c1708ef

3 files changed

Lines changed: 45 additions & 5 deletions

File tree

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ You can install and use HwCodecDetect in two ways.
5151
### Method 1: Install via PyPI (Recommended)
5252
This is the easiest method if you just want to use the tool quickly.
5353

54-
1. Install: Use pip to install HwCodecDetect from the official PyPI repository.
54+
1. Install: Use pip to install HwCodecDetect from the [official PyPI repository](https://pypi.org/project/hwcodecdetect).
5555
```bash
5656
pip install HwCodecDetect
5757
```
@@ -61,7 +61,27 @@ This is the easiest method if you just want to use the tool quickly.
6161
HwCodecDetect
6262
```
6363

64-
### Method 2: Install from Source
64+
### Method 2: Download and Run Executable (Standalone)
65+
Use this method if you prefer to run the tool without installing Python dependencies, or if the PyPI installation fails.
66+
67+
1. Download: Go to the project's [**Releases page**](https://github.com/whyb/HwCodecDetect/releases) and download the executable file corresponding to your operating system (e.g., `HwCodecDetect-Linux-x64`, `HwCodecDetect-Windows-x64.exe`).
68+
69+
2. (Linux/macOS only) Add Execute Permission: If you are on Linux or macOS, you need to grant the downloaded file execute permission.
70+
```bash
71+
# Replace 'HwCodecDetect-Linux-x64' with the actual downloaded filename
72+
chmod +x HwCodecDetect-Linux-x64
73+
```
74+
75+
3. Run: Execute the file directly from your terminal.
76+
```bash
77+
# For Linux/macOS
78+
./HwCodecDetect-Linux-x64
79+
80+
# For Windows (e.g., in PowerShell or Command Prompt)
81+
.\HwCodecDetect-Windows-x64.exe
82+
```
83+
84+
### Method 3: Install from Source
6585
Use this method if you have cloned the project source code from GitHub and want to run it locally.
6686
6787
1. Clone the repository: First, clone the project source code to your local machine.

README.zh.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
## 如何使用
4848
### 方式一:通过 PyPI 安装 (推荐)
4949
如果您只需快速使用本工具,这是最简单的方式。
50-
1. 安装:通过 pip 从 PyPI 官方仓库安装 HwCodecDetect。
50+
1. 安装:通过 pip 从 [PyPI 官方仓库](https://pypi.org/project/hwcodecdetect) 安装 HwCodecDetect。
5151
```bash
5252
pip install HwCodecDetect
5353
```
@@ -57,7 +57,27 @@
5757
HwCodecDetect
5858
```
5959

60-
### 方式二:从源码本地安装
60+
### 方法二:下载并运行可执行文件 (独立运行)
61+
如果您希望在不安装 Python 依赖的情况下运行该工具,或者 PyPI 安装失败,请使用此方法。
62+
63+
1. 下载:前往项目的 [**Releases 页面**](https://github.com/whyb/HwCodecDetect/releases),下载与您的操作系统对应的可执行文件(例如:`HwCodecDetect-Linux-x64``HwCodecDetect-Windows-x64.exe`)。
64+
65+
2. (仅限 Linux/macOS)添加执行权限:如果您使用的是 Linux 或 macOS,您需要授予下载的文件执行权限。
66+
```bash
67+
# 将 'HwCodecDetect-Linux-x64' 替换为实际下载的文件名
68+
chmod +x HwCodecDetect-Linux-x64
69+
```
70+
71+
3. 运行:直接在终端中执行该文件。
72+
```bash
73+
# 适用于 Linux/macOS
74+
./HwCodecDetect-Linux-x64
75+
76+
# 适用于 Windows (例如在 PowerShell 或命令提示符(cmd)中)
77+
.\HwCodecDetect-Windows-x64.exe
78+
```
79+
80+
### 方式三:从源码本地安装
6181
如果您从 GitHub 克隆了项目源码,并想在本地环境中运行,可以采用此方法。
6282
1. 克隆仓库:首先,将项目源码克隆到本地。
6383
```bash

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.3
1+
0.1.4

0 commit comments

Comments
 (0)