feat: 更新可执行文件构建工作流,添加 Windows 和 macOS 支持,并修改依赖版本
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
SamsungToLivePhoto(macOS 版)
|
||||
==============================
|
||||
|
||||
该压缩包包含一个通过 PyInstaller 构建的可执行文件 `SamsungToLivePhoto`,用于将三星运动照片转换成 Apple Live Photo(HEIC + MOV)。
|
||||
|
||||
使用方式
|
||||
--------
|
||||
1. 解压 `SamsungToLivePhoto-macos.tar.gz`,例如:
|
||||
|
||||
```bash
|
||||
tar -xzf SamsungToLivePhoto-macos.tar.gz
|
||||
```
|
||||
|
||||
解压后会得到 `SamsungToLivePhoto` 可执行文件。
|
||||
|
||||
2. 首次从网络下载的文件可能被标记为隔离,可运行:
|
||||
|
||||
```bash
|
||||
xattr -dr com.apple.quarantine SamsungToLivePhoto
|
||||
```
|
||||
|
||||
3. 确保已安装 [ExifTool](https://exiftool.org/)。在 macOS 上可通过 Homebrew 安装:
|
||||
|
||||
```bash
|
||||
brew install exiftool
|
||||
```
|
||||
|
||||
若不需要向 MOV 写入 ContentIdentifier,可在命令中添加 `--skip-mov-tag`。
|
||||
|
||||
4. 在终端中执行:
|
||||
|
||||
```bash
|
||||
./SamsungToLivePhoto /path/to/motion_photo.HEIC --output-dir /path/to/output
|
||||
```
|
||||
|
||||
常见选项
|
||||
--------
|
||||
- `--heic-name` / `--mov-name`:自定义输出文件名。
|
||||
- `--skip-mov-tag`:跳过对 MOV 写入 ContentIdentifier(无需 ExifTool)。
|
||||
|
||||
注意事项
|
||||
--------
|
||||
- 该工具为命令行程序,需要在终端中运行。
|
||||
- 若运行时报错缺少动态库,请确认压缩包完整解压且未被安全工具隔离。*** End Patch
|
||||
@@ -0,0 +1,28 @@
|
||||
SamsungToLivePhoto(Windows 版)
|
||||
================================
|
||||
|
||||
该压缩包包含一个通过 PyInstaller 构建的可执行文件 `SamsungToLivePhoto.exe`,用于把三星运动照片转换为 Apple Live Photo(HEIC + MOV)。
|
||||
|
||||
使用方式
|
||||
--------
|
||||
1. 解压压缩包,例如解压到 `C:\Tools\SamsungToLivePhoto`。
|
||||
2. 确保已安装 [ExifTool](https://exiftool.org/)。如果不想写入 MOV 的 ContentIdentifier,可在命令中添加 `--skip-mov-tag`。
|
||||
3. 打开 PowerShell 或 CMD,执行如下命令:
|
||||
|
||||
```
|
||||
cd C:\Tools\SamsungToLivePhoto
|
||||
.\SamsungToLivePhoto.exe "C:\path\to\motion_photo.HEIC" --output-dir "C:\path\to\output"
|
||||
```
|
||||
|
||||
4. 程序会在输出目录生成 Apple 兼容的 HEIC 与 MOV 文件。
|
||||
|
||||
常见选项
|
||||
--------
|
||||
- `--heic-name` / `--mov-name`:自定义输出文件名。
|
||||
- `--skip-mov-tag`:跳过对 MOV 写入 ContentIdentifier(无需 ExifTool)。
|
||||
|
||||
注意事项
|
||||
--------
|
||||
- 可执行文件首次运行可能被 Windows Defender SmartScreen 拦截,可选择“仍要运行”继续。
|
||||
- 该工具为命令行程序,请在终端(PowerShell/CMD)中使用。
|
||||
- 如遇到“找不到 DLL”或依赖问题,请确认压缩包完整解压且未被杀毒软件隔离。*** End Patch
|
||||
Reference in New Issue
Block a user