This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: 7z.sfx需要自行从https://7-zip.org下载7-Zip得到 | |
@ECHO OFF | |
set /p archive.7z=请输入需要打包的7z路径: | |
set /p sfxInstaller=请设定输出的exe文件名(不需要.exe拓展名): | |
copy /b 7z.sfx + %archive.7z% %sfxInstaller%.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enabledelayedexpansion | |
REM 检查是否存在 FFmpeg | |
where ffmpeg >nul 2>nul | |
if errorlevel 1 ( | |
echo 请确保已经安装了 FFmpeg 并添加到了系统环境变量中。 | |
pause | |
exit /b |