Created
June 4, 2023 08:35
-
-
Save Cccc-owo/4baa59a5771b46ed5a6fb961a6ee4504 to your computer and use it in GitHub Desktop.
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment