1、setver 5改为setver=5

2、新增-setupd=n命令行参数,n=0表示使用inno setup,n=1表示使用nsis脚本,并自动设置脚本的版本号和自动运行脚本。
This commit is contained in:
Jeff
2026-05-19 13:58:59 +08:00
parent 9eaec59bfc
commit 63891dab14
6 changed files with 488 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
#pragma once
void PrintInvalidRepoPathError(LPCTSTR lpRepoPath);
int ParseSetVerOptions(int argc, TCHAR* argv[], LPCTSTR& lpRepoPath, BOOL& bUseDefaultTagWhenMissing, BOOL& bTestMode);
int ParseSetVerOptions(int argc, TCHAR* argv[], int nStartIndex, LPCTSTR& lpRepoPath, BOOL& bUseDefaultTagWhenMissing, BOOL& bTestMode);
int ParseRewriteOptions(int argc, TCHAR* argv[], int& nPEType, BOOL& bForceRewrite);