新增命令行参数:-test,用于生成测试版本的产品版本信息,如pid.bid.0.0

This commit is contained in:
Jeff
2026-05-19 10:46:54 +08:00
parent 52221ac116
commit 9eaec59bfc
4 changed files with 51 additions and 9 deletions

View File

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